]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When using automatically generated flow labels and using TCP SYN
authortuexen <tuexen@FreeBSD.org>
Wed, 4 Mar 2020 16:41:25 +0000 (16:41 +0000)
committertuexen <tuexen@FreeBSD.org>
Wed, 4 Mar 2020 16:41:25 +0000 (16:41 +0000)
commitca6f28024a60e9d6d930c7909b38ccca220b67d7
tree1de47d356a900047dad00de151979243033b0f0c
parentde9f739c2b491a7144c1c35be9c051ac74473f4c
When using automatically generated flow labels and using TCP SYN
cookies, use the same flow label for the segments sent during the
handshake and after the handshake.
This fixes a bug by making sure that sc_flowlabel is always stored in
network byte order.

Reviewed by: bz@
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D23957
sys/netinet/tcp_syncache.c