From: Nicolas Dichtel Date: Tue, 20 Jan 2015 14:15:42 +0000 (+0100) Subject: rtnl: fix error path when adding an iface with a link net X-Git-Tag: fixes-v4.0-rc1~150^2~161^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdef279b993b3a112c493447d5b3d8f28c229d88;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed