aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2023-10-18 12:35:47 +0000
committerPaolo Abeni <[email protected]>2023-10-19 13:41:31 +0000
commit7f3eb2174512fe6c9c0f062e96eccb0d3cc6d5cd (patch)
treeea7864364f06d4cc11892fcb4ae72696d882fa86 /net/unix/unix_bpf.c
parentiavf: delete unused iavf_mac_info fields (diff)
downloadkernel-7f3eb2174512fe6c9c0f062e96eccb0d3cc6d5cd.tar.gz
kernel-7f3eb2174512fe6c9c0f062e96eccb0d3cc6d5cd.zip
net: introduce napi_is_scheduled helper
We currently have napi_if_scheduled_mark_missed that can be used to check if napi is scheduled but that does more thing than simply checking it and return a bool. Some driver already implement custom function to check if napi is scheduled. Drop these custom function and introduce napi_is_scheduled that simply check if napi is scheduled atomically. Update any driver and code that implement a similar check and instead use this new helper. Signed-off-by: Christian Marangi <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions