Skip to content
Snippets Groups Projects
user avatar
David S. Miller authored
If rtnl_newlink() fails on it's call to dev_change_net_namespace(), we
have to make use of the ->dellink() method, if present, just like we
do when rtnl_configure_link() fails.

Fixes: 317f4810 ("rtnl: allow to create device with IFLA_LINK_NETNSID set")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
43638900
History
Name Last commit Last update