mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
Commit4d1c7d8703("mac802154: Move an skb free within the rx path") tried to simplify error handling within the receive path by moving the kfree_skb() call at the very end of the top-level function but missed one kfree_skb() called upon frame parsing error. Prevent this possible double free from happening. Fixes:4d1c7d8703("mac802154: Move an skb free within the rx path") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>