summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-05 10:01:02 +0300
committerDavid S. Miller <davem@davemloft.net>2009-03-05 10:01:02 +0300
commit54acd0efab072cb70e87206329d561b297f93bbb (patch)
treea87196c38486ccf53f7f5da8ff5e12b1294e8027
parent87786945fe4b0e60e8f1db62d5ee8a3cec539a67 (diff)
downloadlinux-54acd0efab072cb70e87206329d561b297f93bbb.tar.xz
net: Fix missing dev->neigh_setup in register_netdevice().
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/dev.c1
1 files changed, 1 insertions, 0 deletions
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;