Re: [PATCH net-next] ipv6: tcp: send consistent autoflowlabel in TIME_WAIT state

2019-06-09 Thread David Miller
From: Eric Dumazet Date: Sat, 8 Jun 2019 17:58:51 -0700 > In case autoflowlabel is in action, skb_get_hash_flowi6() > derives a non zero skb->hash to the flowlabel. > > If skb->hash is zero, a flow dissection is performed. > > Since all TCP skbs sent from ESTABLISH state inherit their > skb->h

[PATCH net-next] ipv6: tcp: send consistent autoflowlabel in TIME_WAIT state

2019-06-08 Thread Eric Dumazet
In case autoflowlabel is in action, skb_get_hash_flowi6() derives a non zero skb->hash to the flowlabel. If skb->hash is zero, a flow dissection is performed. Since all TCP skbs sent from ESTABLISH state inherit their skb->hash from sk->sk_txhash, we better keep a copy of sk->sk_txhash into the T