diff options
author | 2021-04-06 23:40:51 -0700 | |
---|---|---|
committer | 2021-04-07 14:43:28 -0700 | |
commit | 0854fa82c96ca37a35e954b7079c0bfd795affb1 (patch) | |
tree | 96b3d6b64f4c2a025ca938636d419b62df120330 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: introduce nla_policy for IFLA_NEW_IFINDEX (diff) | |
download | wireguard-linux-0854fa82c96ca37a35e954b7079c0bfd795affb1.tar.xz wireguard-linux-0854fa82c96ca37a35e954b7079c0bfd795affb1.zip |
net: remove the new_ifindex argument from dev_change_net_namespace
Here is only one place where we want to specify new_ifindex. In all
other cases, callers pass 0 as new_ifindex. It looks reasonable to add a
low-level function with new_ifindex and to convert
dev_change_net_namespace to a static inline wrapper.
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions