diff options
author | Kuniyuki Iwashima <[email protected]> | 2024-07-26 17:19:53 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-07-29 11:36:48 +0100 |
commit | 9415d375d8520e0ed55f0c0b058928da9a5b5b3d (patch) | |
tree | 848535284c0084d4c6d8d5d4a9cef9bb28eee567 /scripts/rustdoc_test_builder.rs | |
parent | 799a829507506924add8a7620493adc1c3cfda30 (diff) |
rtnetlink: Don't ignore IFLA_TARGET_NETNSID when ifname is specified in rtnl_dellink().
The cited commit accidentally replaced tgt_net with net in rtnl_dellink().
As a result, IFLA_TARGET_NETNSID is ignored if the interface is specified
with IFLA_IFNAME or IFLA_ALT_IFNAME.
Let's pass tgt_net to rtnl_dev_get().
Fixes: cc6090e985d7 ("net: rtnetlink: introduce helper to get net_device instance by ifname")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions