]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The tcp syncache code was leaving the IPv6 flowlabel uninitialised
authorDavid Malone <dwmalone@FreeBSD.org>
Sat, 17 Jul 2004 19:44:13 +0000 (19:44 +0000)
committerDavid Malone <dwmalone@FreeBSD.org>
Sat, 17 Jul 2004 19:44:13 +0000 (19:44 +0000)
commit969860f3edecccbc04bec207ad3f83989cae112a
treee3253b105d7c3ba69e7b3d55d4fcea1bbdd49f7c
parentd75300bfa58d8a70a02b8d00c349d2c643eff45a
The tcp syncache code was leaving the IPv6 flowlabel uninitialised
for the SYN|ACK packet and then letting in6_pcbconnect set the
flowlabel later. Arange for the syncache/syncookie code to set and
recall the flow label so that the flowlabel used for the SYN|ACK
is consistent. This is done by using some of the cookie (when tcp
cookies are enabeled) and by stashing the flowlabel in syncache.

Tested and Discovered by: Orla McGann <orly@cnri.dit.ie>
Approved by: ume, silby
MFC after: 1 month
sys/netinet/tcp_syncache.c
sys/netinet/tcp_var.h