summaryrefslogtreecommitdiffstats
path: root/include/linux/if_macvlan.h
diff options
context:
space:
mode:
authorEric W. Biederman2011-10-20 06:28:46 +0200
committerDavid S. Miller2011-10-21 08:53:07 +0200
commit9bf1907f4293d61d5a283d18c4ad28d048261797 (patch)
treea234645761a946931ae3c0e3ba1088ebec455325 /include/linux/if_macvlan.h
parentmacvtap: Don't leak unreceived packets when we delete a macvtap device. (diff)
downloadkernel-qcow2-linux-9bf1907f4293d61d5a283d18c4ad28d048261797.tar.gz
kernel-qcow2-linux-9bf1907f4293d61d5a283d18c4ad28d048261797.tar.xz
kernel-qcow2-linux-9bf1907f4293d61d5a283d18c4ad28d048261797.zip
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