mirror of https://gitee.com/openkylin/linux.git
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
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
af_unix.c | ||
garbage.c | ||
sysctl_net_unix.c |