diff options
author | David S. Miller <davem@davemloft.net> | 2010-03-20 18:24:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-20 18:24:29 -0400 |
commit | e77c8e83dd587f2616d7ff20d23a897891e6e20d (patch) | |
tree | ba5d2ce6541119f329b2fd51181aaae8528b38f0 /include/linux | |
parent | 641cb85e68945878d520d5fc3c2dc64aa1dda868 (diff) | |
parent | af98441397227a5a4f212cd48710eea72a14dbdb (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netdevice.h | 8 | ||||
-rw-r--r-- | include/linux/netfilter/nfnetlink.h | 2 | ||||
-rw-r--r-- | include/linux/netlink.h | 2 |
3 files changed, 6 insertions, 6 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 | */ |
2092 | static inline int skb_bond_should_drop(struct sk_buff *skb) | 2092 | static 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 | ||
diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h index 53923868c9bd..361d6b5630ee 100644 --- a/include/linux/netfilter/nfnetlink.h +++ b/include/linux/netfilter/nfnetlink.h | |||
@@ -76,7 +76,7 @@ extern int nfnetlink_subsys_unregister(const struct nfnetlink_subsystem *n); | |||
76 | extern int nfnetlink_has_listeners(struct net *net, unsigned int group); | 76 | extern int nfnetlink_has_listeners(struct net *net, unsigned int group); |
77 | extern int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned group, | 77 | extern int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned group, |
78 | int echo, gfp_t flags); | 78 | int echo, gfp_t flags); |
79 | extern void nfnetlink_set_err(struct net *net, u32 pid, u32 group, int error); | 79 | extern int nfnetlink_set_err(struct net *net, u32 pid, u32 group, int error); |
80 | extern int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u_int32_t pid, int flags); | 80 | extern int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u_int32_t pid, int flags); |
81 | 81 | ||
82 | extern void nfnl_lock(void); | 82 | extern void nfnl_lock(void); |
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index fde27c017326..6eaca5e1e8ca 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -188,7 +188,7 @@ extern int netlink_has_listeners(struct sock *sk, unsigned int group); | |||
188 | extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock); | 188 | extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock); |
189 | extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid, | 189 | extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid, |
190 | __u32 group, gfp_t allocation); | 190 | __u32 group, gfp_t allocation); |
191 | extern void netlink_set_err(struct sock *ssk, __u32 pid, __u32 group, int code); | 191 | extern int netlink_set_err(struct sock *ssk, __u32 pid, __u32 group, int code); |
192 | extern int netlink_register_notifier(struct notifier_block *nb); | 192 | extern int netlink_register_notifier(struct notifier_block *nb); |
193 | extern int netlink_unregister_notifier(struct notifier_block *nb); | 193 | extern int netlink_unregister_notifier(struct notifier_block *nb); |
194 | 194 | ||