diff options
author | Tilman Schmidt <tilman@imap.cc> | 2009-10-06 12:18:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-06 22:20:53 -0700 |
commit | e48470217d1822e3566b657002c6f79bd7a77345 (patch) | |
tree | 200e267a4149e63806afda52809590a7bacf34b7 /drivers/ata/pata_hpt366.c | |
parent | 812d73473af23dd738afa83ab77cd6c733b3721f (diff) |
isdn: avoid races in capidrv
In several places, capidrv sends a CAPI message to the ISDN
device and then updates its internal state accordingly.
If the response message from the device arrives before the
state is updated, it may be rejected or processed incorrectly.
Avoid these races by updating the state before emitting the
message.
Impact: bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata/pata_hpt366.c')
0 files changed, 0 insertions, 0 deletions