aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 4d6f81c818dc..94abee8cf563 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1463,6 +1463,7 @@ struct sock *tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
1463 ireq->opt = NULL; 1463 ireq->opt = NULL;
1464 newinet->mc_index = inet_iif(skb); 1464 newinet->mc_index = inet_iif(skb);
1465 newinet->mc_ttl = ip_hdr(skb)->ttl; 1465 newinet->mc_ttl = ip_hdr(skb)->ttl;
1466 newinet->rcv_tos = ip_hdr(skb)->tos;
1466 inet_csk(newsk)->icsk_ext_hdr_len = 0; 1467 inet_csk(newsk)->icsk_ext_hdr_len = 0;
1467 if (inet_opt) 1468 if (inet_opt)
1468 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; 1469 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen;