projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7b0fc
)
netconsole: remove a redundant netconsole_target_put()
author
Amerigo Wang
<
[email protected]
>
Sat, 18 Aug 2012 07:02:20 +0000
(07:02 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 20 Aug 2012 09:59:49 +0000
(
02:59
-0700)
This netconsole_target_put() is obviously redundant, and it
causes a kernel segfault when removing a bridge device which has
netconsole running on it.
This is caused by:
commit
8d8fc29d02a33e4bd5f4fa47823c1fd386346093
Author: Amerigo Wang <
[email protected]
>
Date: Thu May 19 21:39:10 2011 +0000
netpoll: disable netpoll when enslave a device
Cc: David Miller <
[email protected]
>
(for all 3.x stable releases)
Cc:
[email protected]
Signed-off-by: Cong Wang <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/netconsole.c
patch
|
blob
|
history
diff --git
a/drivers/net/netconsole.c
b/drivers/net/netconsole.c
index f0ad56c13933e1e8de4aec326d21295f832c94cc..b3321129a83c6dc33180fbbb07aadad296f14554 100644
(file)
--- a/
drivers/net/netconsole.c
+++ b/
drivers/net/netconsole.c
@@
-643,7
+643,6
@@
static int netconsole_netdev_event(struct notifier_block *this,
__netpoll_cleanup(&nt->np);
dev_put(nt->np.dev);
nt->np.dev = NULL;
- netconsole_target_put(nt);
}
nt->enabled = 0;
stopped = true;