diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 3c9fa618b69d..12bdb9af96e5 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
| @@ -1603,7 +1603,7 @@ static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) | |||
| 1603 | opt_skb = skb_clone(skb, GFP_ATOMIC); | 1603 | opt_skb = skb_clone(skb, GFP_ATOMIC); |
| 1604 | 1604 | ||
| 1605 | if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ | 1605 | if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ |
| 1606 | sock_rps_save_rxhash(sk, skb->rxhash); | 1606 | sock_rps_save_rxhash(sk, skb); |
| 1607 | if (tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len)) | 1607 | if (tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len)) |
| 1608 | goto reset; | 1608 | goto reset; |
| 1609 | if (opt_skb) | 1609 | if (opt_skb) |
| @@ -1625,7 +1625,7 @@ static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) | |||
| 1625 | * the new socket.. | 1625 | * the new socket.. |
| 1626 | */ | 1626 | */ |
| 1627 | if(nsk != sk) { | 1627 | if(nsk != sk) { |
| 1628 | sock_rps_save_rxhash(nsk, skb->rxhash); | 1628 | sock_rps_save_rxhash(nsk, skb); |
| 1629 | if (tcp_child_process(sk, nsk, skb)) | 1629 | if (tcp_child_process(sk, nsk, skb)) |
| 1630 | goto reset; | 1630 | goto reset; |
| 1631 | if (opt_skb) | 1631 | if (opt_skb) |
| @@ -1633,7 +1633,7 @@ static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) | |||
| 1633 | return 0; | 1633 | return 0; |
| 1634 | } | 1634 | } |
| 1635 | } else | 1635 | } else |
| 1636 | sock_rps_save_rxhash(sk, skb->rxhash); | 1636 | sock_rps_save_rxhash(sk, skb); |
| 1637 | 1637 | ||
| 1638 | if (tcp_rcv_state_process(sk, skb, tcp_hdr(skb), skb->len)) | 1638 | if (tcp_rcv_state_process(sk, skb, tcp_hdr(skb), skb->len)) |
| 1639 | goto reset; | 1639 | goto reset; |
