Re: [Linux-zigbee-devel] [patch -next] 6lowpan: double unlock on an error path

2012-06-27 Thread David Miller
From: Alexander Smirnov Date: Wed, 27 Jun 2012 10:57:18 +0400 > 2012/6/27 Dan Carpenter : >> 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'). >> >>

Re: [Linux-zigbee-devel] [patch -next] 6lowpan: double unlock on an error path

2012-06-26 Thread Alexander Smirnov
2012/6/27 Dan Carpenter : > 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 > > diff --git a/net/ieee802154/6lowpan.c

[Linux-zigbee-devel] [patch -next] 6lowpan: double unlock on an error path

2012-06-26 Thread Dan Carpenter
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 diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index ad0c