aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2022-01-25 13:14:24 +0100
committerStefan Schmidt <[email protected]>2022-01-27 08:20:39 +0100
commit621b24b09eb61c63f262da0c9c5f0e93348897e5 (patch)
tree5c9e57fb4bd4fab3860de63c5978c0a211cd6d77 /net/lapb/lapb_timer.c
parente5ce576d45bf72fd0e3dc37eff897bfcc488f6a9 (diff)
net: ieee802154: ca8210: Stop leaking skb's
Upon error the ieee802154_xmit_complete() helper is not called. Only ieee802154_wake_queue() is called manually. We then leak the skb structure. Free the skb structure upon error before returning. Fixes: ded845a781a5 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver") Signed-off-by: Miquel Raynal <[email protected]> Acked-by: Alexander Aring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions