summaryrefslogtreecommitdiffstats
path: root/include/linux/rcuclassic.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-04 23:46:25 -0800
committerDavid S. Miller <davem@davemloft.net>2009-03-04 23:46:25 -0800
commit9d40bbda599def1e1d155d7f7dca14fe8744bd2b (patch)
treed246fbaec294830ecab0bb4b3b38d925abb5ffd8 /include/linux/rcuclassic.h
parent54acd0efab072cb70e87206329d561b297f93bbb (diff)
downloadlinux-stable-9d40bbda599def1e1d155d7f7dca14fe8744bd2b.tar.gz
linux-stable-9d40bbda599def1e1d155d7f7dca14fe8744bd2b.tar.bz2
linux-stable-9d40bbda599def1e1d155d7f7dca14fe8744bd2b.zip
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>
Diffstat (limited to 'include/linux/rcuclassic.h')
0 files changed, 0 insertions, 0 deletions