Module Name: src Committed By: christos Date: Sun Nov 4 16:30:29 UTC 2018
Modified Files: src/external/bsd/dhcpcd/dist/src: dhcp.c dhcp6.c if-bsd.c ipv6nd.c src/lib/libc/sys: getsockopt.2 src/share/man/man7: sysctl.7 src/sys/kern: uipc_socket.c uipc_socket2.c src/sys/sys: socket.h Log Message: - Introduce a new SO_RERROR socket option to explicitly turn on receive overflow errors re-instating the default behavior to silently ignore them as before 2018-03-19. - Introduce a new kern.sooptions sysctl to control the default behavior of socket options. Setting this to 0x4000 (SO_RERROR), turns on receive overflow error reporting for all sockets. - Change dhcpcd to turn on SO_RERROR on all its sockets. As discussed in tech-net. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/bsd/dhcpcd/dist/src/dhcp.c cvs rdiff -u -r1.1.1.13 -r1.2 src/external/bsd/dhcpcd/dist/src/dhcp6.c cvs rdiff -u -r1.1.1.9 -r1.2 src/external/bsd/dhcpcd/dist/src/if-bsd.c cvs rdiff -u -r1.1.1.8 -r1.2 src/external/bsd/dhcpcd/dist/src/ipv6nd.c cvs rdiff -u -r1.37 -r1.38 src/lib/libc/sys/getsockopt.2 cvs rdiff -u -r1.134 -r1.135 src/share/man/man7/sysctl.7 cvs rdiff -u -r1.265 -r1.266 src/sys/kern/uipc_socket.c cvs rdiff -u -r1.132 -r1.133 src/sys/kern/uipc_socket2.c cvs rdiff -u -r1.128 -r1.129 src/sys/sys/socket.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.