From: Eric Dumazet <eduma...@google.com>
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->hash from sk->sk_txhash, we better keep a copy
> of sk->sk_txhash into the TIME_WAIT socket.
> 
> After this patch, ACK or RST packets sent on behalf of
> a TIME_WAIT socket have the flowlabel that was previously
> used by the flow.
> 
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied, thanks.

Reply via email to