]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ce67f3565b55b293ca75b155f0182c8bd950c4c
tree7ec742e7250566bea08e6f06c31cb3d66fd1a794
parent842f2989039c3c50b94ed063912ea7c26f0d169e
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