]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv4: Convert devinet_ioctl to per-netns RTNL.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Mon, 21 Oct 2024 18:32:39 +0000 (11:32 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 29 Oct 2024 10:54:58 +0000 (11:54 +0100)
commit7ed8da17bfb2b033e42afa842ca22641821e231c
treee6bb3dcd48a5665699fb5dcf4825407a5e3f518b
parent88d1f8770690791cbe5d8f60b17137df05476299
ipv4: Convert devinet_ioctl to per-netns RTNL.

ioctl(SIOCGIFCONF) calls dev_ifconf() that operates on the current netns.

Let's use per-netns RTNL helpers in dev_ifconf() and inet_gifconf().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/dev_ioctl.c
net/ipv4/devinet.c