aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-02-14 13:50:33 +0000
committerStefan Schmidt <[email protected]>2023-02-18 15:44:53 +0000
commit1375e3ba9d773f2dbac96ebddfdd0d160276ca40 (patch)
tree127339b391bab4a0e043e9e44975206fc051c23c /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c
parentieee802154: Change error code on monitor scan netlink request (diff)
downloadkernel-1375e3ba9d773f2dbac96ebddfdd0d160276ca40.tar.gz
kernel-1375e3ba9d773f2dbac96ebddfdd0d160276ca40.zip
mac802154: Send beacons using the MLME Tx path
Using ieee802154_subif_start_xmit() to bypass the net queue when sending beacons is broken because it does not acquire the HARD_TX_LOCK(), hence not preventing datagram buffers to be smashed by beacons upon contention situation. Using the mlme_tx helper is not the best fit either but at least it is not buggy and has little-to-no performance hit. More details are given in the comment explaining this choice in the code. Fixes: 3accf4762734 ("mac802154: Handle basic beaconing") Reported-by: Alexander Aring <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions