net: Fix missing dev->neigh_setup in register_netdevice().
authorDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2009 07:01:02 +0000 (23:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2009 07:01:02 +0000 (23:01 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 9e4afe650e7a880f111616fe8a3179816fed2296..2dd484ed3dbb8d4eb4d353312908c8d779422000 100644 (file)
@@ -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;