freebsd-dev/sbin/route
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
..
tests Skip sbin/route tests if jail not installed (WITHOUT_JAIL). 2020-08-04 21:34:13 +00:00
keywords
Makefile Add tests for "add", "change" and "delete" functionality of /sbin/route. 2020-07-22 13:49:54 +00:00
Makefile.depend
route.8 route(8): Add an example how to print the routing tables 2021-04-13 06:45:22 +02:00
route.c socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00