]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/ipv4/tcp_output.c
net: Save TX flow hash in sock and set in skbuf on xmit
[karo-tx-linux.git] / net / ipv4 / tcp_output.c
index f8f2a944a1ce091f216d7ca7968667419fe6ed0a..bcee13c4627cc29deb17695454c0413d2b0b87ff 100644 (file)
@@ -916,6 +916,7 @@ static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it,
        skb_orphan(skb);
        skb->sk = sk;
        skb->destructor = tcp_wfree;
+       skb_set_hash_from_sk(skb, sk);
        atomic_add(skb->truesize, &sk->sk_wmem_alloc);
 
        /* Build TCP header and checksum it. */