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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Aug 2013 22:44:23 +0000 (15:44 -0700)
commit63134803a6369dcf7dddf7f0d5e37b9566b308d2
tree91989560d7550d8664835abbe977beabe01e137e
parent8a849bb7f0ac513c2b7202620f611d94301c4a93
neighbour: populate neigh_parms on alloc before calling ndo_neigh_setup

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>
net/core/neighbour.c