Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c3804bc authored by Eric Dumazet's avatar Eric Dumazet Committed by Chenbo Feng
Browse files

UPSTREAM: 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: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit 1f3b359f1004bd34b7b0bad70b93e3c7af92a37b)

Bug: 30950746
Change-Id: I59a1f0c70925ee4bd93ac277d785759958bd2b9e
parent 2c5c4ccd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment