neigh: directly goto out after setting nud_state to NUD_FAILED
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Thu, 27 Feb 2014 09:03:03 +0000 (17:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2014 21:40:38 +0000 (16:40 -0500)
commit5e2c21dceb5d324b204fda1f28270bb3dbccedb3
tree9c375e2bc688476d52ca3acc188d275eff2230df
parent8e1f40ec773b6551eda3cce379b4154a1c21cd97
neigh: directly goto out after setting nud_state to NUD_FAILED

Because those following if conditions will not be matched.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c