6lowpan: ndisc: fix double read unlock
authorAlexander Aring <aar@pengutronix.de>
Tue, 21 Jun 2016 08:27:18 +0000 (10:27 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Jul 2016 10:20:57 +0000 (12:20 +0200)
commit929946a471c1d5c6c595b4094f4c56bdfceee9c7
tree3b9f6cd3706591504034b13f537096cbcbee199b
parenta4770e1117f193c3e27f5f046cd4f8e2470f3b70
6lowpan: ndisc: fix double read unlock

This patch removes a double unlock case to accessing neighbour private
data.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/ndisc.c