diff options
| author | Jussi Maki <[email protected]> | 2021-07-31 05:57:36 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-08-09 23:25:15 +0200 |
| commit | 689186699931313c7a42462602bd5c03eef77f9f (patch) | |
| tree | e21f16c6a55ad82da50fb0d88da91de099393005 /tools/perf/scripts/python/bin | |
| parent | aeea1b86f9363f3feabb496534d886f082a89f21 (diff) | |
net, core: Allow netdev_lower_get_next_private_rcu in bh context
For the XDP bonding slave lookup to work in the NAPI poll context in which
the redudant rcu_read_lock() has been removed we have to follow the same
approach as in 694cea395fde ("bpf: Allow RCU-protected lookups to happen
from bh context") and modify the WARN_ON to also check rcu_read_lock_bh_held().
Signed-off-by: Jussi Maki <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Cc: Toke Høiland-Jørgensen <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions