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

Skip to content
Commit f5bc3457 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan Committed by Gerrit - the friendly Code Review server
Browse files

rmnet_shs: Fix issues for a idle flow after switch



After a flow goes idle during a switch it leaves the
potential for memleak if no backlog prevents it from
flushing and packets remain parked. Add timer restart
if packets remain parked so they get flushed once
backlog disappears if no NET_RX occurs afterwards.

Inactive Flows should not have parked skbs but
if they do then the WQ should deliver them before
removing the node from the hashtable as to remove
any chance of memleak.

CRs-Fixed: 2430628
Change-Id: I9eaf399e93f76ead2b6c9590e2d9e7b4a3dd9d2e
Acked-by: default avatarRaul Martinez <mraul@qti.qualcomm.com>
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 99da95a0
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