Commit be1a4f14 authored by David S. Miller's avatar David S. Miller

Bump TcpPassiveOpens when tcp_create_openreq_child succeeds.

We have not been bumping this since we create openreqs in TCP,
ie. some 6 years ago. :-)
parent 51ab40dc
......@@ -786,6 +786,8 @@ struct sock *tcp_create_openreq_child(struct sock *sk, struct open_request *req,
newtp->ack.last_seg_size = skb->len-newtp->tcp_header_len;
newtp->mss_clamp = req->mss;
TCP_ECN_openreq_child(newtp, req);
TCP_INC_STATS_BH(TcpPassiveOpens);
}
return newsk;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment