Commit 6ddc851b authored by Florian Weimer's avatar Florian Weimer Committed by Hideaki Yoshifuji

[TCP]: In TCP_LISTEN state, ignore SYNs with RST set.

parent 68f80838
......@@ -3847,6 +3847,9 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
if(th->ack)
return 1;
if(th->rst)
goto discard;
if(th->syn) {
if(tp->af_specific->conn_request(sk, skb) < 0)
return 1;
......
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