]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 5 Aug 2013 22:19:04 +0000 (15:19 -0700)
commitfc7f8f5c53fdb82d4689e24df3da1a88bc3859f7
treecb51b848381a414c2bbcf0a5bb4c104c39f30d3f
parent7921895a5e852fc99de347bc0600659997de9298
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