Skip to content
Commit cf89d6b2 authored by Gao feng's avatar Gao feng Committed by David S. Miller
Browse files

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: default avatarGao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75b29459
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment