]> git.baikalelectronics.ru Git - kernel.git/commit
neigh: check error pointer instead of NULL for ipv4_neigh_lookup()
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 25 Sep 2014 00:07:53 +0000 (17:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Sep 2014 21:16:04 +0000 (17:16 -0400)
commit2763018edec687983035f1864fd66ddc08b0998b
tree7addd5b21588c2403e2ff3e563fbe2ce0a75bc9b
parentd96a8eacc21cfc3b6c85ccf6443e2fcf81eed151
neigh: check error pointer instead of NULL for ipv4_neigh_lookup()

Fixes: commit b6acba96c1aa51fbac863e2ca55cb ("ipv4: No need to set generic neighbour pointer")
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c