| Submitter | Brad Figg |
|---|---|
| Date | May 31, 2012, 10:58 p.m. |
| Message ID | <1338505134-539-2-git-send-email-brad.figg@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/162242/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 78dd38c..0cbb440 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -5811,6 +5811,8 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, goto discard; if (th->syn) { + if (th->fin) + goto discard; if (icsk->icsk_af_ops->conn_request(sk, skb) < 0) return 1;