summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-06-13 20:19:40 +0000
committerrenato <renato@openbsd.org>2016-06-13 20:19:40 +0000
commitc78471fc8f69f2cb14de63e706c173c2e6985bdf (patch)
tree9d1e998e59e5051488edee952fea9d2d7e9464e2 /sys/netinet/tcp_output.c
parentDo not create sockets for disabled address-families. (diff)
downloadwireguard-openbsd-c78471fc8f69f2cb14de63e706c173c2e6985bdf.tar.xz
wireguard-openbsd-c78471fc8f69f2cb14de63e706c173c2e6985bdf.zip
Implement a timeout for the session initialization FSM.
This prevents neighbors stuck in the initialization FSM to linger forever as long as the associated transport connection is up. This timeout can be seen in the 'Session Initialization State Transition Diagram' of RFC 5036. The RFC, however, doesn't specify how much we should wait. Let's use 180 seconds for that, the default LDP hold time. Fixes IxANVL LDP test 6.15.
Diffstat (limited to 'sys/netinet/tcp_output.c')
0 files changed, 0 insertions, 0 deletions