summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-06-09 17:41:52 +0000
committerrenato <renato@openbsd.org>2016-06-09 17:41:52 +0000
commit0582260852ca6d5c202bbc36cf6d0d31dd4183d2 (patch)
tree5e41f2d945e5ccd9e1c07888cb5a9d2dc30b7c1e /sys/netinet/tcp_input.c
parentSend a fatal notification when the last hello adjacency is deleted. (diff)
downloadwireguard-openbsd-0582260852ca6d5c202bbc36cf6d0d31dd4183d2.tar.xz
wireguard-openbsd-0582260852ca6d5c202bbc36cf6d0d31dd4183d2.zip
Do not shut down the session upon receiving unknown messages.
RFC 5036 says the following about the receipt of unknown messages: "Unknown message bit. Upon receipt of an unknown message, if U is clear (=0), a notification is returned to the message originator; if U is set (=1), the unknown message is silently ignored". We were correctly ignoring unknown messages when the U-bit was set. But when this bit was not set, we were shutting down the session when the correct thing to do is to just send a non-fatal notification message. Fix IxANVL LDP test 22.13.
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions