|
@@ -824,7 +824,7 @@ static int tcp_v4_send_synack(struct sock *sk, struct dst_entry *dst,
|
|
|
struct sk_buff * skb;
|
|
|
|
|
|
/* First, grab a route. */
|
|
|
- if (!dst && (dst = inet_csk_route_req(sk, &fl4, req, nocache)) == NULL)
|
|
|
+ if (!dst && (dst = inet_csk_route_req(sk, &fl4, req)) == NULL)
|
|
|
return -1;
|
|
|
|
|
|
skb = tcp_make_synack(sk, dst, req, rvp);
|
|
@@ -1378,7 +1378,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
|
|
|
*/
|
|
|
if (tmp_opt.saw_tstamp &&
|
|
|
tcp_death_row.sysctl_tw_recycle &&
|
|
|
- (dst = inet_csk_route_req(sk, &fl4, req, want_cookie)) != NULL &&
|
|
|
+ (dst = inet_csk_route_req(sk, &fl4, req)) != NULL &&
|
|
|
fl4.daddr == saddr) {
|
|
|
if (!tcp_peer_is_proven(req, dst, true)) {
|
|
|
NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_PAWSPASSIVEREJECTED);
|