freebsd-dev/sys/netgraph/bluetooth
Roy Marples 7045b1603b socket: Implement SO_RERROR
SO_RERROR indicates that receive buffer overflows should be handled as
errors. Historically receive buffer overflows have been ignored and
programs could not tell if they missed messages or messages had been
truncated because of overflows. Since programs historically do not
expect to get receive overflow errors, this behavior is not the
default.

This is really really important for programs that use route(4) to keep
in sync with the system. If we loose a message then we need to reload
the full system state, otherwise the behaviour from that point is
undefined and can lead to chasing bogus bug reports.

Reviewed by:	philip (network), kbowling (transport), gbe (manpages)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D26652
2021-07-28 09:35:09 -07:00
..
common net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
drivers ng_ubt: Block attachment of uninitialized Intel Wireless 7265 2021-04-15 17:26:32 +03:00
hci Fix a use-after-free in an error case. 2021-05-26 18:23:33 +09:00
include pccard: Remove bt3c(4) driver 2021-01-07 20:40:41 -07:00
l2cap net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
socket socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00