diff options
| author | Chris Mason <clm@fb.com> | 2014-12-02 18:42:03 -0800 |
|---|---|---|
| committer | Chris Mason <clm@fb.com> | 2014-12-02 18:42:03 -0800 |
| commit | 9627aeee3e203e30679549e4962633698a6bf87f (patch) | |
| tree | 30ee313a7049bf3fcc17e346df5737e967fd9a95 /net/ipv4/tcp_input.c | |
| parent | cb83b7b81698a4abe531e0ba18b9e288b06947ce (diff) | |
| parent | 5d3edd8f44aac94de7b16f4c54290e24f5e8c532 (diff) | |
Merge branch 'raid56-scrub-replace' of git://github.com/miaoxie/linux-btrfs into for-linus
Diffstat (limited to 'net/ipv4/tcp_input.c')
| -rw-r--r-- | net/ipv4/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 88fa2d160685..d107ee246a1d 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -5231,7 +5231,7 @@ slow_path: if (len < (th->doff << 2) || tcp_checksum_complete_user(sk, skb)) goto csum_error; - if (!th->ack && !th->rst) + if (!th->ack && !th->rst && !th->syn) goto discard; /* @@ -5650,7 +5650,7 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, goto discard; } - if (!th->ack && !th->rst) + if (!th->ack && !th->rst && !th->syn) goto discard; if (!tcp_validate_incoming(sk, skb, th, 0)) |
