net: rfs: enable RFS before first data packet is received
[platform/adaptation/renesas_rcar/renesas_kernel.git] / net / ipv4 / tcp_ipv4.c
index a7d6671..708dc20 100644 (file)
@@ -1589,6 +1589,7 @@ int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb)
                        goto discard;
 
                if (nsk != sk) {
+                       sock_rps_save_rxhash(nsk, skb->rxhash);
                        if (tcp_child_process(sk, nsk, skb)) {
                                rsk = nsk;
                                goto reset;