]> www.infradead.org Git - users/hch/misc.git/commit
net: plumb extack in __dev_change_net_namespace()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 28 Feb 2025 10:20:58 +0000 (11:20 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 4 Mar 2025 11:44:48 +0000 (12:44 +0100)
commit12b6f7069ba5aa160f3332916408b34ae8e0b0f6
treed536bd6892ee0e891d261823bae6adc3639c80e0
parent4754affe0b57e55fbd17c0986c89b548d093d5c4
net: plumb extack in __dev_change_net_namespace()

It could be hard to understand why the netlink command fails. For example,
if dev->netns_immutable is set, the error is "Invalid argument".

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/netdevice.h
net/core/dev.c
net/core/rtnetlink.c