linux/net/core
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
..
Makefile
datagram.c
dev.c vlan: Fix vlan-in-vlan crashes. 2009-03-04 23:46:25 -08:00
dev_mcast.c
dst.c
ethtool.c
fib_rules.c
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c Revert "net: Fix for initial link state in 2.6.28" 2009-01-05 16:01:51 -08:00
neighbour.c neigh: some entries can be skipped during dumping 2009-02-06 00:52:04 -08:00
net-sysfs.c net: Avoid race between network down and sysfs 2009-03-03 00:47:46 -08:00
net-sysfs.h
net_namespace.c netns: Remove net_alive 2009-03-03 01:14:27 -08:00
netevent.c
netpoll.c
pktgen.c
request_sock.c
rtnetlink.c
scm.c
skb_dma_map.c
skbuff.c net: Kill skb_truesize_check(), it only catches false-positives. 2009-02-17 21:24:05 -08:00
sock.c net: amend the fix for SO_BSDCOMPAT gsopt infoleak 2009-02-23 15:38:41 -08:00
stream.c
sysctl_net_core.c
user_dma.c
utils.c