3
0
Fork 0
forked from mirrors/linux
kernel/drivers/net/ipvlan
Jakub Kicinski 8ef890df40 net: move misc netdev_lock flavors to a separate header
Move the more esoteric helpers for netdev instance lock to
a dedicated header. This avoids growing netdevice.h to infinity
and makes rebuilding the kernel much faster (after touching
the header with the helpers).

The main netdev_lock() / netdev_unlock() functions are used
in static inlines in netdevice.h and will probably be used
most commonly, so keep them in netdevice.h.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250307183006.2312761-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-03-08 09:06:50 -08:00
..
ipvlan.h rtnetlink: Pack newlink() params into struct 2025-02-21 15:28:02 -08:00
ipvlan_core.c ipvlan: ensure network headers are in skb linear part 2025-02-21 16:29:50 -08:00
ipvlan_l3s.c ipv4: Convert ip_route_input_noref() to dscp_t. 2024-10-03 16:21:21 -07:00
ipvlan_main.c net: move misc netdev_lock flavors to a separate header 2025-03-08 09:06:50 -08:00
ipvtap.c rtnetlink: Pack newlink() params into struct 2025-02-21 15:28:02 -08:00
Makefile