wifi: wext: Namespacify wireless_nlevent_flush() calls.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wifi: wext: Move wext_nlevents to net->gen[].include/ net/ | +27 | 5 replies | |
| 2/3 | wifi: wext: Convert wireless_nlevent_work to per-netns work.net/ | +10 | 0 replies | |
| 3/3 | wifi: wext: Don't iterate all netns in wireless_nlevent_flush().include/ net/ net/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 wl-next 0/3] wifi: wext: Namespacify wireless_nlevent_flush() calls.
Currently, wext's netdev notifier calls wireless_nlevent_flush() for any event of any device and iterates all netns.
It happens even on a host without wext devices and is problematic if the host has thousands of netns & devices as reported in the thread below. [0]
This series will address the issue by removing the netns iteration in wireless_nlevent_flush().
[0]: https://lore.kernel.org/netdev/CAKYWH0Ti3=4GeeuVyWKJ9LyTuRnf3Wy9GKg4Jb7tdeaT39qADA@mail.gmail.com/
Kuniyuki Iwashima (3):
wifi: wext: Move wext_nlevents to net->gen[].
wifi: wext: Convert wireless_nlevent_work to per-netns work.
wifi: wext: Don't iterate all netns in wireless_nlevent_flush().
include/net/iw_handler.h | 4 +-- include/net/net_namespace.h | 3 -- net/wireless/core.c | 2 +- net/wireless/wext-core.c | 69 +++++++++++++++++++++++++------------ 4 files changed, 50 insertions(+), 28 deletions(-)
Signature · 1 line
2.39.5 (Apple Git-154)