firewire: cdev: fix race in iso context creation
authorClemens Ladisch <clemens@ladisch.de>
Mon, 14 Jun 2010 09:46:25 +0000 (11:46 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 20 Jun 2010 21:11:56 +0000 (23:11 +0200)
commitbdfe273ee54b29498851fc8058516037d284270c
tree1e4a94774ae5469ee6e4bc9bd5bb1e43db67c511
parent33e553fe2b4a983ef34a57ab1440d8d33397bb12
firewire: cdev: fix race in iso context creation

Protect the client's iso context pointer against a race that can happen
when more than one creation call is executed at the same time.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-cdev.c