diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-30 21:11:11 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-30 21:11:11 -0800 |
commit | 9b3fc325c2a7e9e17e22b008357cb0ceb810d9b2 (patch) | |
tree | 0564a6841093e187f64c843bf7c54f5a3d6ff96d | |
parent | ffe2a22562444720b05bdfeb999c03e810d84cbb (diff) | |
parent | 71a06f1034b91e15d3ba6b5539c7d3a2d7f13030 (diff) | |
download | linux-stable-9b3fc325c2a7e9e17e22b008357cb0ceb810d9b2.tar.gz linux-stable-9b3fc325c2a7e9e17e22b008357cb0ceb810d9b2.tar.bz2 linux-stable-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; } |