diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 1d8b75a58981..59110caeb074 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -824,7 +824,7 @@ static int tcp_v4_send_synack(struct sock *sk, struct dst_entry *dst, | |||
824 | struct sk_buff * skb; | 824 | struct sk_buff * skb; |
825 | 825 | ||
826 | /* First, grab a route. */ | 826 | /* First, grab a route. */ |
827 | if (!dst && (dst = inet_csk_route_req(sk, &fl4, req, nocache)) == NULL) | 827 | if (!dst && (dst = inet_csk_route_req(sk, &fl4, req)) == NULL) |
828 | return -1; | 828 | return -1; |
829 | 829 | ||
830 | skb = tcp_make_synack(sk, dst, req, rvp); | 830 | skb = tcp_make_synack(sk, dst, req, rvp); |
@@ -1378,7 +1378,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb) | |||
1378 | */ | 1378 | */ |
1379 | if (tmp_opt.saw_tstamp && | 1379 | if (tmp_opt.saw_tstamp && |
1380 | tcp_death_row.sysctl_tw_recycle && | 1380 | tcp_death_row.sysctl_tw_recycle && |
1381 | (dst = inet_csk_route_req(sk, &fl4, req, want_cookie)) != NULL && | 1381 | (dst = inet_csk_route_req(sk, &fl4, req)) != NULL && |
1382 | fl4.daddr == saddr) { | 1382 | fl4.daddr == saddr) { |
1383 | if (!tcp_peer_is_proven(req, dst, true)) { | 1383 | if (!tcp_peer_is_proven(req, dst, true)) { |
1384 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_PAWSPASSIVEREJECTED); | 1384 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_PAWSPASSIVEREJECTED); |