diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-31 06:11:11 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-31 06:11:11 +0100 |
commit | 9b3fc325c2a7e9e17e22b008357cb0ceb810d9b2 (patch) | |
tree | 0564a6841093e187f64c843bf7c54f5a3d6ff96d | |
parent | net/tls: tls_is_tx_ready() checked list_entry (diff) | |
parent | mac802154: Fix possible double free upon parsing error (diff) | |
download | linux-9b3fc325c2a7e9e17e22b008357cb0ceb810d9b2.tar.xz linux-9b3fc325c2a7e9e17e22b008357cb0ceb810d9b2.zip |
Merge tag 'ieee802154-for-net-2023-01-30' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan
Stefan Schmidt says:
====================
ieee802154 for net 2023-01-30
Only one fix this time around.
Miquel Raynal fixed a potential double free spotted by Dan Carpenter.
* tag 'ieee802154-for-net-2023-01-30' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan:
mac802154: Fix possible double free upon parsing error
====================
Link: https://lore.kernel.org/r/20230130095646.301448-1-stefan@datenfreihafen.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | net/mac802154/rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index c2aae2a6d6a6..97bb4401dd3e 100644 --- a/net/mac802154/rx.c +++ b/net/mac802154/rx.c @@ -213,7 +213,6 @@ __ieee802154_rx_handle_packet(struct ieee802154_local *local, ret = ieee802154_parse_frame_start(skb, &hdr); if (ret) { pr_debug("got invalid frame\n"); - kfree_skb(skb); return; } |