aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorBruno PrĂ©mont <[email protected]>2009-04-29 20:45:17 +0000
committerDavid S. Miller <[email protected]>2009-05-01 15:24:18 -0700
commit2382b15bcc39228572ccf1d9a1185dcabb84c833 (patch)
treef24ff62a60da71984288f81ddbbc20476d18d063 /drivers/mtd/lpddr/lpddr_cmds.c
parentacda074390270ca9e28f2a9729f7b835e2ad6da4 (diff)
netconsole: take care of NETDEV_UNREGISTER event
When netconsole is loaded and a network interface fades away (e.g. on rmmod $interface_driver_module) the rmmod remains stuck and some locks are taken that prevent any additional module loading/unloading as well as interface up/down changes. In addition kernel logs (and console) get flooded at 10s interval with [ 122.464065] unregister_netdevice: waiting for eth0 to become free. Usage count = 1 [ 132.704059] unregister_netdevice: waiting for eth0 to become free. Usage count = 1 This patch lets netconsole take NETDEV_UNREGISTER event into account and release the affected interface if it was in use. Signed-off-by: Bruno PrĂ©mont <[email protected]> Acked-by: Matt Mackall <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions