Re: [PATCH net v1] mac802154: avoid extra skb references in RX queues

From: Stefan Schmidt

Date: Thu Nov 26 2026 - 02:28:50 EST


Hello Xuanqiang Luo.

On Sat, 05 Sep 2026 14:15:23 +0800, Xuanqiang Luo wrote:
> __ieee802154_rx_handle_packet() passes each cloned skb to
> ieee802154_subif_frame() and does not release it after the call. The
> callee consumes the skb on every path: it either frees it, hands it to
> the networking stack, or stores it in a queued RX descriptor.
>
> The beacon and MAC command paths nevertheless call skb_get() before
> storing the skb. The worker drops only that additional reference, leaving
> the original clone reference without an owner and leaking every queued
> skb.
>
> [...]

Applied to wpan/wpan.git, thanks!

[1/1] mac802154: avoid extra skb references in RX queues
https://git.kernel.org/wpan/wpan/c/6b4e5919526f

regards,
Stefan Schmidt