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:Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Loading
Please register or sign in to comment