summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2021-04-07 09:40:03 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-08 00:42:12 +0300
commit7e4a51319d3a71ac8002c96f817bcbeb36789b07 (patch)
treeb0d76fad49603063e1cb6f1d0002ce9b78a7e1ea /drivers/net
parentf86c70ed0476eaaa0215a97005af336f687baa77 (diff)
downloadlinux-7e4a51319d3a71ac8002c96f817bcbeb36789b07.tar.xz
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 'drivers/net')
0 files changed, 0 insertions, 0 deletions