]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove SO_BSDCOMPAT usage, it's ignore since Linux 2.4
authorOndřej Surý <ondrej@sury.org>
Mon, 1 Jul 2019 14:16:40 +0000 (16:16 +0200)
committerOndřej Surý <ondrej@sury.org>
Mon, 1 Jul 2019 14:16:40 +0000 (16:16 +0200)
commit209b2e53d17a18a674a1835d07cbfb2451cfd619
tree0a40795a2963dc9e4bda5f27db7f1b1b553af87d
parent1eeda8cd2312b4b8d6cbe6e9b16d93ec49c96021
Remove SO_BSDCOMPAT usage, it's ignore since Linux 2.4

The SO_BSDCOMPAT socket option is no-op since Linux 2.4, see the manpage:

SO_BSDCOMPAT
Enable BSD bug-to-bug compatibility.  This is used by the UDP protocol
module in Linux 2.0 and 2.2.  If enabled, ICMP errors received for a UDP
socket will not be passed to the user program.  In later kernel
versions, support for this option has been phased out: Linux 2.4
silently ignores it, and Linux 2.6 generates a kernel warning (printk())
if a program uses this option.  Linux 2.0 also enabled BSD bug-to-bug
compatibility options (random header changing, skipping of the broadcast
flag) for raw sockets with this option, but that was removed in Linux
2.2.
lib/isc/unix/socket.c