diff options
author | Florent Fourcot <florent.fourcot@enst-bretagne.fr> | 2014-01-16 17:21:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-17 17:56:33 -0800 |
commit | 1d13a96c74fc4802a775189ddb58bc6469ffdaa3 (patch) | |
tree | bf854b523585d551146a82d12d429ab19ae6ef3c /net/ipv4/tcp_minisocks.c | |
parent | d037c4d70fb281cd54efb03254b51c7452750491 (diff) |
ipv6: tcp: fix flowlabel value in ACK messages send from TIME_WAIT
This patch is following the commit b903d324bee262 (ipv6: tcp: fix TCLASS
value in ACK messages sent from TIME_WAIT).
For the same reason than tclass, we have to store the flow label in the
inet_timewait_sock to provide consistency of flow label on the last ACK.
Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index 3aa9e324799..7a436c517e4 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c @@ -297,6 +297,7 @@ void tcp_time_wait(struct sock *sk, int state, int timeo) tw->tw_v6_daddr = sk->sk_v6_daddr; tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr; tw->tw_tclass = np->tclass; + tw->tw_flowlabel = np->flow_label >> 12; tw->tw_ipv6only = np->ipv6only; } #endif |