diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
| -rw-r--r-- | net/ipv4/tcp_ipv4.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 7963e03f106..48da7cc41e2 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -1588,7 +1588,7 @@ int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb)  #endif  	if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ -		sock_rps_save_rxhash(sk, skb->rxhash); +		sock_rps_save_rxhash(sk, skb);  		if (tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len)) {  			rsk = sk;  			goto reset; @@ -1605,7 +1605,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); +			sock_rps_save_rxhash(nsk, skb);  			if (tcp_child_process(sk, nsk, skb)) {  				rsk = nsk;  				goto reset; @@ -1613,7 +1613,7 @@ int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb)  			return 0;  		}  	} else -		sock_rps_save_rxhash(sk, skb->rxhash); +		sock_rps_save_rxhash(sk, skb);  	if (tcp_rcv_state_process(sk, skb, tcp_hdr(skb), skb->len)) {  		rsk = sk; @@ -1680,7 +1680,7 @@ int tcp_v4_rcv(struct sk_buff *skb)  				    skb->len - th->doff * 4);  	TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq);  	TCP_SKB_CB(skb)->when	 = 0; -	TCP_SKB_CB(skb)->flags	 = iph->tos; +	TCP_SKB_CB(skb)->ip_dsfield = ipv4_get_dsfield(iph);  	TCP_SKB_CB(skb)->sacked	 = 0;  	sk = __inet_lookup_skb(&tcp_hashinfo, skb, th->source, th->dest);  |