opnsense-src/sys/netgraph/bluetooth/socket
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
..
ng_btsocket.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
ng_btsocket_hci_raw.c socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
ng_btsocket_l2cap.c Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
ng_btsocket_l2cap_raw.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ng_btsocket_rfcomm.c Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
ng_btsocket_sco.c Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
TODO