diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index a63486afa7a7..d9416b5162bc 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1669,9 +1669,9 @@ process: | |||
1669 | */ | 1669 | */ |
1670 | sock_hold(sk); | 1670 | sock_hold(sk); |
1671 | refcounted = true; | 1671 | refcounted = true; |
1672 | if (tcp_filter(sk, skb)) | 1672 | nsk = NULL; |
1673 | goto discard_and_relse; | 1673 | if (!tcp_filter(sk, skb)) |
1674 | nsk = tcp_check_req(sk, skb, req, false); | 1674 | nsk = tcp_check_req(sk, skb, req, false); |
1675 | if (!nsk) { | 1675 | if (!nsk) { |
1676 | reqsk_put(req); | 1676 | reqsk_put(req); |
1677 | goto discard_and_relse; | 1677 | goto discard_and_relse; |