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

Skip to content
Commit 64ba762e authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

drivers: rmnet_shs: Fix max flows mem leak



Previously we would break out after allocating a flow node
if we exceeded our max flow limit.

This will move the limit check before we allocate memory
so that we don't leak memory

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