projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de487da
)
firewire: cdev: fix race of ioctl_send_request with bus reset
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Tue, 10 Mar 2009 20:01:08 +0000
(21:01 +0100)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:50 +0000
(20:56 +0100)
The bus reset handler concurrently frees client->device->node. Use
device->node_id instead. This is equivalent to device->node->node_id
while device->generation is current.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-cdev.c
b/drivers/firewire/fw-cdev.c
index
160cb27
..
c54e019
100644
(file)
--- a/
drivers/firewire/fw-cdev.c
+++ b/
drivers/firewire/fw-cdev.c
@@
-585,7
+585,7
@@
static int ioctl_send_request(struct client *client, void *buffer)
return -EINVAL;
}
- return init_request(client, request, client->device->node
->node
_id,
+ return init_request(client, request, client->device->node_id,
client->device->max_speed);
}