linux/drivers/net/dummy.c
Eric Dumazet bed510e440 net: dummy: do not acquire RTNL for too long
Instead of holding RTNL for an arbitrary amount of time,
call register_netdev() for each dummy device created
at module loading time.

Tested:

modprobe dummy numdummies=10000

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260427091016.737015-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-28 17:45:21 -07:00

199 lines
4.9 KiB