aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-03-20 18:24:29 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-20 18:24:29 -0400
commite77c8e83dd587f2616d7ff20d23a897891e6e20d (patch)
treeba5d2ce6541119f329b2fd51181aaae8528b38f0 /include/linux/netdevice.h
parent641cb85e68945878d520d5fc3c2dc64aa1dda868 (diff)
parentaf98441397227a5a4f212cd48710eea72a14dbdb (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 813bed723f58..9fc6ee8e7508 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2089,12 +2089,12 @@ static inline void skb_bond_set_mac_by_master(struct sk_buff *skb,
2089 * duplicates except for 802.3ad ETH_P_SLOW, alb non-mcast/bcast, and 2089 * duplicates except for 802.3ad ETH_P_SLOW, alb non-mcast/bcast, and
2090 * ARP on active-backup slaves with arp_validate enabled. 2090 * ARP on active-backup slaves with arp_validate enabled.
2091 */ 2091 */
2092static inline int skb_bond_should_drop(struct sk_buff *skb) 2092static inline int skb_bond_should_drop(struct sk_buff *skb,
2093 struct net_device *master)
2093{ 2094{
2094 struct net_device *dev = skb->dev;
2095 struct net_device *master = dev->master;
2096
2097 if (master) { 2095 if (master) {
2096 struct net_device *dev = skb->dev;
2097
2098 if (master->priv_flags & IFF_MASTER_ARPMON) 2098 if (master->priv_flags & IFF_MASTER_ARPMON)
2099 dev->last_rx = jiffies; 2099 dev->last_rx = jiffies;
2100 2100