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

Skip to content
Commit 85ac4a2e authored by Ravit Katzav's avatar Ravit Katzav
Browse files

msm: rndis_ipa: fix return value of xmit function



In case of error in xmit function, xmit returns -NETDEV_TX_BUSY
and assumes that network stack will free the skb. Network stack
treats negative return values as errors and does not free the skb.
This creates a memory leak. Fix xmit function to return
NETDEV_TX_BUSY instead.

Change-Id: I1147304e9f14ae95bd45b6a3fe0f76cc0ac0ac8e
Acked-by: default avatarAdy Abraham <adya@qti.qualcomm.com>
Signed-off-by: default avatarRavit Katzav <rkatzav@codeaurora.org>
parent 77da3567
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