diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-03-16 15:57:44 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-03-16 17:54:58 +0100 |
commit | 4e06e240dcbb803433ee31bfe89a3e785a77cd3b (patch) | |
tree | d303884800eabb74641591383746f440c215891d /drivers/pcmcia/bcm63xx_pcmcia.h | |
parent | e794c01b7de40d180417eacbd910e8f31f2fafeb (diff) |
PCMCIA: resource, fix lock imbalance
Stanse found that one error path (when alloc_skb fails) in netdev_tx
omits to unlock hw_priv->hwlock. Fix that by moving away from unlock in
each fail path. Unlock at one place instead.
Introduced in 94a819f80297e1f635a7cde4ed5317612e512ba7
(pcmcia: assert locking to struct pcmcia_device)
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/bcm63xx_pcmcia.h')
0 files changed, 0 insertions, 0 deletions