tcp_input.c (11dd60447e3b1018f9cae66737cb902b519d3454) | tcp_input.c (33cf7c90fe2f97afb1cadaa0cfb782cb9d1b9ee2) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * Authors: Ross Biro --- 5951 unchanged lines hidden (view full) --- 5960 tmp_opt.user_mss = tp->rx_opt.user_mss; 5961 tcp_parse_options(skb, &tmp_opt, 0, want_cookie ? NULL : &foc); 5962 5963 if (want_cookie && !tmp_opt.saw_tstamp) 5964 tcp_clear_options(&tmp_opt); 5965 5966 tmp_opt.tstamp_ok = tmp_opt.saw_tstamp; 5967 tcp_openreq_init(req, &tmp_opt, skb, sk); | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * Authors: Ross Biro --- 5951 unchanged lines hidden (view full) --- 5960 tmp_opt.user_mss = tp->rx_opt.user_mss; 5961 tcp_parse_options(skb, &tmp_opt, 0, want_cookie ? NULL : &foc); 5962 5963 if (want_cookie && !tmp_opt.saw_tstamp) 5964 tcp_clear_options(&tmp_opt); 5965 5966 tmp_opt.tstamp_ok = tmp_opt.saw_tstamp; 5967 tcp_openreq_init(req, &tmp_opt, skb, sk); |
5968 inet_rsk(req)->ireq_net = sock_net(sk); 5969 atomic64_set(&inet_rsk(req)->ir_cookie, 0); |
|
5968 5969 af_ops->init_req(req, sk, skb); 5970 5971 if (security_inet_conn_request(sk, skb, req)) 5972 goto drop_and_free; 5973 5974 if (!want_cookie && !isn) { 5975 /* VJ's idea. We save last timestamp seen --- 80 unchanged lines hidden --- | 5970 5971 af_ops->init_req(req, sk, skb); 5972 5973 if (security_inet_conn_request(sk, skb, req)) 5974 goto drop_and_free; 5975 5976 if (!want_cookie && !isn) { 5977 /* VJ's idea. We save last timestamp seen --- 80 unchanged lines hidden --- |