]> git.baikalelectronics.ru Git - kernel.git/commit
caif: unlock on error path in cfserl_receive()
authorDan Carpenter <error27@gmail.com>
Wed, 26 May 2010 05:16:48 +0000 (05:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 May 2010 07:18:50 +0000 (00:18 -0700)
commit1ad071fd5a769d92d04b7699e324ced563960ab9
tree53979f092d9f6792f44b940d70a9b9920316bfc5
parent9e083f5fde25c0a62e0daedec2f0b9b2f3187039
caif: unlock on error path in cfserl_receive()

There was an spin_unlock missing on the error path.  The spin_lock was
tucked in with the declarations so it was hard to spot.  I added a new
line.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sjur Brændeland <sjurbren@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfserl.c