diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
| -rw-r--r-- | net/ipv4/tcp_ipv4.c | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 59a6f8b90cd9..3cf976510497 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -173,11 +173,11 @@ int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)  	rt = ip_route_connect(fl4, nexthop, inet->inet_saddr,  			      RT_CONN_FLAGS(sk), sk->sk_bound_dev_if,  			      IPPROTO_TCP, -			      orig_sport, orig_dport, sk, true); +			      orig_sport, orig_dport, sk);  	if (IS_ERR(rt)) {  		err = PTR_ERR(rt);  		if (err == -ENETUNREACH) -			IP_INC_STATS_BH(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); +			IP_INC_STATS(sock_net(sk), IPSTATS_MIB_OUTNOROUTES);  		return err;  	} @@ -827,7 +827,7 @@ static int tcp_v4_send_synack(struct sock *sk, struct dst_entry *dst,  	const struct inet_request_sock *ireq = inet_rsk(req);  	struct flowi4 fl4;  	int err = -1; -	struct sk_buff * skb; +	struct sk_buff *skb;  	/* First, grab a route. */  	if (!dst && (dst = inet_csk_route_req(sk, &fl4, req)) == NULL) @@ -1668,7 +1668,6 @@ struct sock *tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,  	}  	sk_setup_caps(newsk, dst); -	tcp_mtup_init(newsk);  	tcp_sync_mss(newsk, dst_mtu(dst));  	newtp->advmss = dst_metric_advmss(dst);  	if (tcp_sk(sk)->rx_opt.user_mss &&  | 
