6lowpan: double unlock on an error path
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Jun 2012 20:53:09 +0000 (20:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 08:16:45 +0000 (01:16 -0700)
commit747cf6ed3dbf6200af761f5384893c3b621a484c
tree56eac2292838ddbfa2cbf302b51ff9590c51553b
parentc3deafc5261a9421b315ee0d0e8e36ba7857128c
6lowpan: double unlock on an error path

We already unlocked a few lines earlier here, so we can go directly to
drop without passing through unlock.  This was introduced recently in
c5d3687f6c ('6lowpan: read data from skb safely').

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c