summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2022-10-26 12:35:00 +0300
committerStefan Schmidt <stefan@datenfreihafen.org>2022-11-01 13:22:54 +0300
commit4d1c7d87030be2a0043620b240cdb88199396366 (patch)
tree727110b68720d1e315b1aae5b1c54a7c7a6eebf0 /scripts/generate_rust_analyzer.py
parent95d9a3dab109f2806980d55634972120824a5a5a (diff)
downloadlinux-4d1c7d87030be2a0043620b240cdb88199396366.tar.xz
mac802154: Move an skb free within the rx path
It may appear clearer to free the skb at the end of the path rather than in the middle, within a helper. Move kfree_skb() from the end of __ieee802154_rx_handle_packet() to right after it in the calling function ieee802154_rx(). Doing so implies reworking a little bit the exit path. Suggested-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20221026093502.602734-2-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions