commit | bdef279b993b3a112c493447d5b3d8f28c229d88 | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Tue Jan 20 15:15:42 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 23 17:51:14 2015 -0800 |
tree | 52d3509eb43202c94e050351dcea588054e5c16d | |
parent | d7924450e14ea414568563ec01489f77452b00b4 [diff] |
rtnl: fix error path when adding an iface with a link net If an error occurs when the netdevice is moved to the link netns, a full cleanup must be done. Fixes: 317f4810e45e ("rtnl: allow to create device with IFLA_LINK_NETNSID set") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>