summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2022-01-25 15:14:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-08 20:30:37 +0300
commit78b3f20c17cbcb7645bfa63f2ca0e11b53c09d56 (patch)
tree2b54320bec0b4fb53d8c027d7c5d574eb302ad01 /net/ieee802154
parent0bfe50dc5d91f6ab445088ef25f2f0fb163fb631 (diff)
downloadlinux-78b3f20c17cbcb7645bfa63f2ca0e11b53c09d56.tar.xz
net: ieee802154: ca8210: Stop leaking skb's
commit 621b24b09eb61c63f262da0c9c5f0e93348897e5 upstream. 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 <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20220125121426.848337-5-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions