From: David S. Miller Date: Thu, 5 Mar 2009 07:01:02 +0000 (-0800) Subject: net: Fix missing dev->neigh_setup in register_netdevice(). X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=54acd0efab072cb70e87206329d561b297f93bbb;p=openwrt%2Fstaging%2Fblogic.git net: Fix missing dev->neigh_setup in register_netdevice(). Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 9e4afe650e7a..2dd484ed3dbb 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4339,6 +4339,7 @@ int register_netdevice(struct net_device *dev) dev->do_ioctl = ops->ndo_do_ioctl; dev->set_config = ops->ndo_set_config; dev->change_mtu = ops->ndo_change_mtu; + dev->neigh_setup = ops->ndo_neigh_setup; dev->tx_timeout = ops->ndo_tx_timeout; dev->get_stats = ops->ndo_get_stats; dev->vlan_rx_register = ops->ndo_vlan_rx_register;