This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / net / bonding / bond_main.c
index 6917b66..6e57c14 100644 (file)
@@ -4214,6 +4214,13 @@ out:
        return 0;
 }
 
+#ifdef CONFIG_NET_FASTROUTE
+static int bond_accept_fastpath(struct net_device *bond_dev, struct dst_entry *dst)
+{
+       return -1;
+}
+#endif
+
 /*------------------------- Device initialization ---------------------------*/
 
 /*
@@ -4287,6 +4294,9 @@ static int __init bond_init(struct net_device *bond_dev, struct bond_params *par
        bond_set_mode_ops(bond_dev, bond->params.mode);
 
        bond_dev->destructor = free_netdev;
+#ifdef CONFIG_NET_FASTROUTE
+       bond_dev->accept_fastpath = bond_accept_fastpath;
+#endif
 
        /* Initialize the device options */
        bond_dev->tx_queue_len = 0;