neighbour: populate neigh_parms on alloc before calling ndo_neigh_setup
authorVeaceslav Falico <vfalico@redhat.com>
Fri, 2 Aug 2013 17:07:38 +0000 (19:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2013 13:54:54 +0000 (06:54 -0700)
commit5cf1ad6c6a29186821843e5d6f70ebbbce587f4f
tree9cb168ce006f18e5f29c2c01fb907d454ec24de3
parent3b8dd03efa3008933d14e7203b7b29200330f039
neighbour: populate neigh_parms on alloc before calling ndo_neigh_setup

[ Upstream commit 63134803a6369dcf7dddf7f0d5e37b9566b308d2 ]

dev->ndo_neigh_setup() might need some of the values of neigh_parms, so
populate them before calling it.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/neighbour.c