summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mscc/ocelot_ace.c
diff options
context:
space:
mode:
authorEric Dumazet2019-06-09 02:58:51 +0200
committerDavid S. Miller2019-06-10 05:10:19 +0200
commitc67b85558ff20cb1ff20874461d12af456bee5d0 (patch)
tree74fbc1da8b19b683614d91c512a4a73c04a873a9 /drivers/net/ethernet/mscc/ocelot_ace.c
parentMerge branch 'RGMII-delays-for-SJA1105-DSA-driver' (diff)
downloadkernel-qcow2-linux-c67b85558ff20cb1ff20874461d12af456bee5d0.tar.gz
kernel-qcow2-linux-c67b85558ff20cb1ff20874461d12af456bee5d0.tar.xz
kernel-qcow2-linux-c67b85558ff20cb1ff20874461d12af456bee5d0.zip
ipv6: tcp: send consistent autoflowlabel in TIME_WAIT state
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_ace.c')
0 files changed, 0 insertions, 0 deletions