summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-06-09 17:26:32 +0000
committerrenato <renato@openbsd.org>2016-06-09 17:26:32 +0000
commit9aeb55b77791164427c3e144519ad3fd94bce40d (patch)
treeb9c8b78164ba3eb1191b0422c2eae1d8023fa3ef /sys/netinet/tcp_input.c
parentDynamically attach imxesdhc(4) using the FDT. (diff)
downloadwireguard-openbsd-9aeb55b77791164427c3e144519ad3fd94bce40d.tar.xz
wireguard-openbsd-9aeb55b77791164427c3e144519ad3fd94bce40d.zip
Send a fatal notification when the last hello adjacency is deleted.
RFC 5036 says: "When the last Hello adjacency for an LDP session is deleted, the LSR terminates the LDP session by sending a Notification message and closing the transport connection". Send a "Hold Timer Expired" notification when the triggering event is a hello hold time timeout. In the other cases, like disabling LDP on an interface, send a "Shutdown" notification instead. Before this patch we were just closing the neighbor's transport connection. Fixes the following ANVL LDP tests: 7.17 and 23.3.
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions