diff options
author | 2022-01-25 12:48:15 +0100 | |
---|---|---|
committer | 2022-01-26 15:45:49 +0000 | |
commit | b6ab149654ef1fada0b37b379c04c475c2fdc675 (patch) | |
tree | e7c9766aba159a715ae78522a40f91394f986ab8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'dev_addr-const-fixes' (diff) | |
download | wireguard-linux-b6ab149654ef1fada0b37b379c04c475c2fdc675.tar.xz wireguard-linux-b6ab149654ef1fada0b37b379c04c475c2fdc675.zip |
net: lan966x: Fix sleep in atomic context when injecting frames
On lan966x, when injecting a frame it was polling the register
QS_INJ_STATUS to see if it can continue with the injection of the frame.
The problem was that it was using readx_poll_timeout which could sleep
in atomic context.
This patch fixes this issue by using readx_poll_timeout_atomic.
Fixes: d28d6d2e37d10d ("net: lan966x: add port module support")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions