diff options
author | 2009-04-27 03:04:58 -0700 | |
---|---|---|
committer | 2009-04-27 03:04:58 -0700 | |
commit | ae0e8e82205c903978a79ebf5e31c670b61fa5b4 (patch) | |
tree | 78d54aa285b9a6275e4628ed1fa0965e74417161 /kernel/mutex.c | |
parent | xfrm: wrong hash value for temporary SA (diff) | |
download | wireguard-linux-ae0e8e82205c903978a79ebf5e31c670b61fa5b4.tar.xz wireguard-linux-ae0e8e82205c903978a79ebf5e31c670b61fa5b4.zip |
veth: prevent oops caused by netdev destructor
From: Stephen Hemminger <shemminger@vyatta.com>
The veth driver will oops if sysfs hooks are open while module is removed.
The net device destructor can not point to code in a module; basically
there are only two possible safe values: NULL - no destructor, or
free_netdev - free on last use
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions