diff options
author | Andrei Vagin <avagin@gmail.com> | 2021-04-06 23:40:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-07 14:42:12 -0700 |
commit | 7e4a51319d3a71ac8002c96f817bcbeb36789b07 (patch) | |
tree | b0d76fad49603063e1cb6f1d0002ce9b78a7e1ea /net/sched/act_bpf.c | |
parent | f86c70ed0476eaaa0215a97005af336f687baa77 (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 'net/sched/act_bpf.c')
0 files changed, 0 insertions, 0 deletions