mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
8ba69ba6a3
Kalle Olavi Niemitalo reported that:
"..., when one process calls sendmsg once to send 43804 bytes of
data and one file descriptor, and another process then calls recvmsg
three times to receive the 16032+16032+11740 bytes, each of those
recvmsg calls returns the file descriptor in the ancillary data. I
confirmed this with strace. The behaviour differs from Linux
2.6.26, where reportedly only one of those recvmsg calls (I think
the first one) returned the file descriptor."
This bug was introduced by a patch from me titled "net: unix: fix inflight
counting bug in garbage collector", commit
|
||
---|---|---|
.. | ||
af_unix.c | ||
garbage.c | ||
Kconfig | ||
Makefile | ||
sysctl_net_unix.c |