tcp: be more strict before accepting ECN negociation
[deliverable/linux.git] / net / ipv4 / tcp_ipv4.c
index cf97e9821d76b352f0f786f1201967db8dd0d6ea..4ff5e1f70d16a80014356b11b643df64f1221b70 100644 (file)
@@ -1368,7 +1368,7 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb)
                goto drop_and_free;
 
        if (!want_cookie || tmp_opt.tstamp_ok)
-               TCP_ECN_create_request(req, tcp_hdr(skb));
+               TCP_ECN_create_request(req, skb);
 
        if (want_cookie) {
                isn = cookie_v4_init_sequence(sk, skb, &req->mss);
This page took 0.024976 seconds and 5 git commands to generate.