scsi: cxgb4i: Add a missing call to neigh_release
authorQuentin Lambert <lambert.quentin@gmail.com>
Sat, 19 Nov 2016 17:42:14 +0000 (18:42 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 30 Nov 2016 16:36:31 +0000 (11:36 -0500)
commit338be07233813d5be8f44d393d6c16f631c3254d
treece106ba7e9756f86ed5d1c7c3a93534de1436eb4
parent11f7b1844ac01d0298aad6a0ec2591bef4a1c3a2
scsi: cxgb4i: Add a missing call to neigh_release

Most error branches following the call to dst_neigh_lookup contain a
call to neigh_release. This patch add these calls where they are
missing.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Acked-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c