Skip to content
Commit 62ed153a authored by Florian Grandel's avatar Florian Grandel Committed by Carles Cufí
Browse files

drivers: ieee802154: don't allocate rx pkt from tx pool



Several IEEE 802154 drivers allocated RX packets from the TX pool.

This may seem like a minor problem at first sight but it may become
problematic if the pool is used to distinguish package types as is the
case in some code paths, e.g. for packet priority or determination of
the packet buffer pool.

This bug also has the potential of starving the TX pool capacity which
even may make devices vulnerable to DoS attacks as sending may be
prohibited by addressing enough RX packets to a device to let it run out
of TX capacity.

Fixes: #51261

Signed-off-by: default avatarFlorian Grandel <jerico.dev@gmail.com>
parent 5bc6b157
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment