diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2024-09-13 17:57:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-17 16:12:02 +0300 |
commit | 1b62ef7f23c3fcf0902aaa5b8f8c9cba5092f544 (patch) | |
tree | 75a9ae84bd12e28658eeb19d2449a25dd70f5412 /fs/ext4/truncate.h | |
parent | 56d5ca2ef0d7bea43f249d0efbae30bbf530d2be (diff) | |
download | linux-1b62ef7f23c3fcf0902aaa5b8f8c9cba5092f544.tar.xz |
net: xilinx: axienet: Schedule NAPI in two steps
commit ba0da2dc934ec5ac32bbeecbd0670da16ba03565 upstream.
As advised by Documentation/networking/napi.rst, masking IRQs after
calling napi_schedule can be racy. Avoid this by only masking/scheduling
if napi_schedule_prep returns true.
Fixes: 9e2bc267e780 ("net: axienet: Use NAPI for TX completion path")
Fixes: cc37610caaf8 ("net: axienet: implement NAPI and GRO receive")
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240913145711.2284295-1-sean.anderson@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/truncate.h')
0 files changed, 0 insertions, 0 deletions