diff options
author | David S. Miller <davem@davemloft.net> | 2015-03-10 21:58:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-10 21:59:46 -0400 |
commit | 4363890079674db7b00cf1bb0e6fa430e846e86b (patch) | |
tree | 0b7905168810419c0fb2aa8fbead213f546257d5 /fs/sysv | |
parent | 7768eed8bf1d2e5eefa38c573f15f737a9824052 (diff) | |
download | op-kernel-dev-4363890079674db7b00cf1bb0e6fa430e846e86b.zip op-kernel-dev-4363890079674db7b00cf1bb0e6fa430e846e86b.tar.gz |
net: Handle unregister properly when netdev namespace change fails.
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: 317f4810e45e ("rtnl: allow to create device with IFLA_LINK_NETNSID set")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions