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 c5d3687f ('6lowpan: read data from skb safely'). Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NAlexander Smirnov <alex.bluesman.smirnov@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录