commit | 1f3b359f1004bd34b7b0bad70b93e3c7af92a37b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 08 12:44:47 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 08 16:07:17 2017 -0700 |
tree | 40485d37c352b90d936c2c95239ea9d4e7d2f140 | |
parent | 108074611015bccfaf9ef50710edfd6929e55cd3 [diff] |
tcp: fix a request socket leak While the cited commit fixed a possible deadlock, it added a leak of the request socket, since reqsk_put() must be called if the BPF filter decided the ACK packet must be dropped. Fixes: d624d276d1dd ("tcp: fix possible deadlock in TCP stack vs BPF filter") Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>