summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2021-04-06 23:40:03 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-07 14:42:12 -0700
commit7e4a51319d3a71ac8002c96f817bcbeb36789b07 (patch)
treeb0d76fad49603063e1cb6f1d0002ce9b78a7e1ea /include/linux/netdevice.h
parentf86c70ed0476eaaa0215a97005af336f687baa77 (diff)
net: introduce nla_policy for IFLA_NEW_IFINDEX
In this case, we don't need to check that new_ifindex is positive in validate_linkmsg. Fixes: eeb85a14ee34 ("net: Allow to specify ifindex when device is moved to another namespace") Suggested-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Andrei Vagin <avagin@gmail.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions