aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorJasper Spaans <spaans@fox-it.com>2009-10-23 00:09:24 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-27 04:05:13 -0400
commita361c83cb4d7c8fe013d82a2f124175a7f276f30 (patch)
tree685e6e1374bf8bca7bb742c025c13cedadfb537e /drivers/net/bonding/bonding.h
parentcfadf853f6cd9689f79a63ca960c6f9d6665314f (diff)
bonding: Remove bond_dev from xmit_hash_policy call.
Now that the bonding device is no longer used in determining the device to which to send packets, it can be dropped from the argument list of the various xmit_hash_policy calls. Signed-off-by: Jasper Spaans <spaans@fox-it.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 9c03c2ee074d..9b520b05fbac 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -206,7 +206,7 @@ struct bonding {
206#endif /* CONFIG_PROC_FS */ 206#endif /* CONFIG_PROC_FS */
207 struct list_head bond_list; 207 struct list_head bond_list;
208 struct dev_mc_list *mc_list; 208 struct dev_mc_list *mc_list;
209 int (*xmit_hash_policy)(struct sk_buff *, struct net_device *, int); 209 int (*xmit_hash_policy)(struct sk_buff *, int);
210 __be32 master_ip; 210 __be32 master_ip;
211 u16 flags; 211 u16 flags;
212 u16 rr_tx_counter; 212 u16 rr_tx_counter;
@@ -377,4 +377,3 @@ static inline void bond_unregister_ipv6_notifier(void)
377#endif 377#endif
378 378
379#endif /* _LINUX_BONDING_H */ 379#endif /* _LINUX_BONDING_H */
380