summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2014-01-07 16:34:05 +0000
committerstsp <stsp@openbsd.org>2014-01-07 16:34:05 +0000
commitc93b5f8a98fc0a4acee6dba25c8feea32417056e (patch)
tree9ddfb9dfbe2bfc42c99f3a2383cfc9da37f2a429 /sys/netinet/tcp_input.c
parentuse IF_NAMESIZE as size of buffer for interface name (diff)
downloadwireguard-openbsd-c93b5f8a98fc0a4acee6dba25c8feea32417056e.tar.xz
wireguard-openbsd-c93b5f8a98fc0a4acee6dba25c8feea32417056e.zip
Some follow-up fixes for IFID collision handling in IPv6CP.
Really change the link-local address in the unlikely event of an IFID collision, instead of going into an infinite conf-nak loop with the peer. To make the netinet6 code use the IPv6CP IFID in a new link-local address, in6_ifattach_linklocal() must accept a provided IFID. Replace the unused 'altifp' parameter with a new 'ifid' parameter for this purpose. Always use the latest suggested address in IPv6CP replies, even if the task to update the interface's address hasn't run yet. Also, clear the ifindex (KAME hack) in addresses sent during IPv6CP. ok mpi
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions