linux/net/8021q
David S. Miller 9d40bbda59 vlan: Fix vlan-in-vlan crashes.
As analyzed by Patrick McHardy, vlan needs to reset it's
netdev_ops pointer in it's ->init() function but this
leaves the compat method pointers stale.

Add a netdev_resync_ops() and call it from the vlan code.

Any other driver which changes ->netdev_ops after register_netdevice()
will need to call this new function after doing so too.

With help from Patrick McHardy.

Tested-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-04 23:46:25 -08:00
..
Kconfig
Makefile
vlan_core.c netpoll: Add drop checks to all entry points 2009-03-01 00:11:52 -08:00
vlan_dev.c vlan: Fix vlan-in-vlan crashes. 2009-03-04 23:46:25 -08:00
vlan_gvrp.c
vlan_netlink.c
vlan.c vlan: convert to net_device_ops 2008-11-19 22:42:41 -08:00
vlan.h
vlanproc.c vlan: Fix typos in proc output string 2008-11-10 13:37:40 -08:00
vlanproc.h