summaryrefslogtreecommitdiffstats
path: root/include/linux/if_macvlan.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-10-20 04:28:46 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-21 02:53:07 -0400
commit9bf1907f4293d61d5a283d18c4ad28d048261797 (patch)
treea234645761a946931ae3c0e3ba1088ebec455325 /include/linux/if_macvlan.h
parent2259fef0bb80a8fc842b5690b89a640464df2859 (diff)
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 <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_macvlan.h')
0 files changed, 0 insertions, 0 deletions