aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-02-14 14:50:33 +0100
committerStefan Schmidt <[email protected]>2023-02-18 16:44:53 +0100
commit1375e3ba9d773f2dbac96ebddfdd0d160276ca40 (patch)
tree127339b391bab4a0e043e9e44975206fc051c23c /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent1edecbd0bd45c9c899e0f82b123342f28423468c (diff)
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/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions