neigh: no need to call lookup_neigh_parms in neigh_parms_alloc
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 20 Jun 2013 02:01:32 +0000 (10:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 04:13:24 +0000 (21:13 -0700)
commitcf89d6b2803ab99ac596f95d585c3057d2be645c
tree7ec742e7250566bea08e6f06c31cb3d66fd1a794
parent75b2945988274078bccf4c0b84e90c77b4fcaf96
neigh: no need to call lookup_neigh_parms in neigh_parms_alloc

neigh_table.parms always exist and is initialized,kmemdup
can use it to create new neigh_parms, actually lookup_neigh_parms
here will return neigh_table.parms too.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c