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:
c7b2a99
)
firewire: nosy: fix list corruption by NOSY_IOC_STOP
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Thu, 22 Jul 2010 09:56:38 +0000
(11:56 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Tue, 27 Jul 2010 09:04:10 +0000
(11:04 +0200)
nosy_stop_snoop() would blow up the second time it was called without
nosy_start_snoop() in between.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/nosy.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/nosy.c
b/drivers/firewire/nosy.c
index 6470514190d54fde9fc818acdd3f450a4b96dd48..637e51485a703562a24623e2ba36219aa37547e7 100644
(file)
--- a/
drivers/firewire/nosy.c
+++ b/
drivers/firewire/nosy.c
@@
-276,7
+276,7
@@
nosy_stop_snoop(struct client *client)
unsigned long flags;
spin_lock_irqsave(&client->lynx->client_list_lock, flags);
- list_del(&client->link);
+ list_del
_init
(&client->link);
spin_unlock_irqrestore(&client->lynx->client_list_lock, flags);
}