commit | 6f3eabcd041aa062cfabd2fc62194a33b507f51c | [log] [tgz] |
---|---|---|
author | Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> | Tue May 20 13:14:22 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 22 15:24:13 2014 -0400 |
tree | a9af119650dbecdfa82d5bbfb83761f589a9571e | |
parent | 68bc74feb0ce1cc79cb2b5bbdfc592f30f37dab8 [diff] |
mac802154: llsec: fix incorrect lock pairing In encrypt, sec->lock is taken with read_lock_bh, so in the error path, we must read_unlock_bh. Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>