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

Commit d7db3359 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

Revert "inet: Always increment refcount in inet_twsk_schedule"



This reverts commit 6c78676c ("inet: Always increment
refcount in inet_twsk_schedule").

This change was causing a memory leak if the statistics module
xt_qtaguid was not enabled.
This also brings us in parity with upstream kernel. We will
need to add tracepoints going forward if socket refcount is
incorrect.

This leak occurs in the TCPv4 data path with a socket in TIME_WAIT
state and the server transmits some data packets.

CRs-Fixed: 1037407
Change-Id: I8e033dea2fdf1e2f74477261ae7deca4d8d217d4
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent ad8cf1bb
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