diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-04-14 10:35:09 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-04-14 10:35:09 +0000 |
commit | c4b43c46c906a35a302c13d4b22acc1f93e75de1 (patch) | |
tree | 31e4fc91e53d41cf1f54d7039bbd37159948f7e6 /sys/contrib | |
parent | b2e4c77a02a90972acaa19099d19be9f1dffa3a3 (diff) | |
download | FreeBSD-src-c4b43c46c906a35a302c13d4b22acc1f93e75de1.zip FreeBSD-src-c4b43c46c906a35a302c13d4b22acc1f93e75de1.tar.gz |
Some Linux applications (ping) pass a non-NULL msg_control argument to
sendmsg() while using a 0-length msg_controllen. This isn't allowed in
the FreeBSD system call ABI, so detect this case and set msg_control to
NULL. This allows Linux ping to work.
Submitted by: rdivacky
Diffstat (limited to 'sys/contrib')
0 files changed, 0 insertions, 0 deletions