From: Eric W. Biederman Date: Thu, 20 Oct 2011 04:28:46 +0000 (+0000) Subject: macvtap: Rewrite macvtap_newlink so the error handling works. X-Git-Tag: v3.2-rc1~182^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf1907f4293d61d5a283d18c4ad28d048261797;p=pandora-kernel.git macvtap: Rewrite macvtap_newlink so the error handling works. Place macvlan_common_newlink at the end of macvtap_newlink because failing in newlink after registering your network device is not supported. Move device_create into a netdevice creation notifier. The network device notifier is the only hook that is called after the network device has been registered with the device layer and before register_network_device returns success. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed