6LoWPAN: call dev_put() on error in lowpan_newlink()
commitdc00fd44413e9d4310d0dc6bcc3bd8e57ba8f064
authorDan Carpenter <error27@gmail.com>
Tue, 30 Aug 2011 03:51:09 +0000 (30 03:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:36:32 +0000 (15 15:36 -0400)
treed3236757784b4428bf305ebb234819dec6405cd8
parentaec9db355ce2b930358ade5a71cc00ac258e1b3f
6LoWPAN: call dev_put() on error in lowpan_newlink()

We should release the dev_hold() on error before returning here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c