]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: tcp: send consistent flowlabel in TIME_WAIT state
authorEric Dumazet <edumazet@google.com>
Wed, 5 Jun 2019 14:55:10 +0000 (07:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 02:05:01 +0000 (19:05 -0700)
commit9ee93906c95bfc769d9a1ce680ee6cffe68f2380
tree6ba062d780e3eab0159704ffca00e167021de7af
parentd93bd92f170188ad193e74f1d2995bca10e19f21
ipv6: tcp: send consistent flowlabel in TIME_WAIT state

After commit 227ef6413047 ("ipv6: tcp: fix flowlabel value in ACK
messages"), we stored in tw_flowlabel the flowlabel, in the
case ACK packets needed to be sent on behalf of a TIME_WAIT socket.

We can use the same field so that RST packets sent from
TIME_WAIT state also use a consistent flowlabel.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florent Fourcot <florent.fourcot@wifirst.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c