Skip to content
Snippets Groups Projects
Forked from drm / kernel
Loading
user avatar
Kuniyuki Iwashima authored
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: cc6090e9 ("net: rtnetlink: introduce helper to get net_device instance by ifname")
Signed-off-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
9415d375
History
Name Last commit Last update
..