diff options
author | Andrei Vagin <avagin@gmail.com> | 2021-04-07 09:40:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-08 00:42:12 +0300 |
commit | 7e4a51319d3a71ac8002c96f817bcbeb36789b07 (patch) | |
tree | b0d76fad49603063e1cb6f1d0002ce9b78a7e1ea /drivers/net | |
parent | f86c70ed0476eaaa0215a97005af336f687baa77 (diff) | |
download | linux-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