diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-12 23:01:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-12 23:01:55 -0400 |
commit | 5c5095494fb545f53b80cbb7539679a10a3472a6 (patch) | |
tree | d7c40cd66a58030ddef369bcb9acd8d95e2ac864 /include | |
parent | 4d586b823acc46c55c889ae1798de236c9d403da (diff) | |
parent | def57687e9579b7a797681990dff763c411f5347 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-next-2.6
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 7 | ||||
-rw-r--r-- | include/net/garp.h | 1 | ||||
-rw-r--r-- | include/net/ip_vs.h | 9 |
3 files changed, 11 insertions, 6 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e7244ed1f9a8..1d9696a9ee4d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1097,10 +1097,14 @@ struct net_device { | |||
1097 | 1097 | ||
1098 | #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) | 1098 | #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) |
1099 | 1099 | ||
1100 | #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ | ||
1101 | NETIF_F_FSO) | ||
1102 | |||
1100 | #define NETIF_F_ALL_TX_OFFLOADS (NETIF_F_ALL_CSUM | NETIF_F_SG | \ | 1103 | #define NETIF_F_ALL_TX_OFFLOADS (NETIF_F_ALL_CSUM | NETIF_F_SG | \ |
1101 | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ | 1104 | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ |
1102 | NETIF_F_HIGHDMA | \ | 1105 | NETIF_F_HIGHDMA | \ |
1103 | NETIF_F_SCTP_CSUM | NETIF_F_FCOE_CRC) | 1106 | NETIF_F_SCTP_CSUM | \ |
1107 | NETIF_F_ALL_FCOE) | ||
1104 | 1108 | ||
1105 | /* | 1109 | /* |
1106 | * If one device supports one of these features, then enable them | 1110 | * If one device supports one of these features, then enable them |
@@ -2561,6 +2565,7 @@ u32 netdev_increment_features(u32 all, u32 one, u32 mask); | |||
2561 | u32 netdev_fix_features(struct net_device *dev, u32 features); | 2565 | u32 netdev_fix_features(struct net_device *dev, u32 features); |
2562 | int __netdev_update_features(struct net_device *dev); | 2566 | int __netdev_update_features(struct net_device *dev); |
2563 | void netdev_update_features(struct net_device *dev); | 2567 | void netdev_update_features(struct net_device *dev); |
2568 | void netdev_change_features(struct net_device *dev); | ||
2564 | 2569 | ||
2565 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, | 2570 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, |
2566 | struct net_device *dev); | 2571 | struct net_device *dev); |
diff --git a/include/net/garp.h b/include/net/garp.h index 8cabbf087169..834d8add9e5f 100644 --- a/include/net/garp.h +++ b/include/net/garp.h | |||
@@ -104,6 +104,7 @@ struct garp_applicant { | |||
104 | struct sk_buff_head queue; | 104 | struct sk_buff_head queue; |
105 | struct sk_buff *pdu; | 105 | struct sk_buff *pdu; |
106 | struct rb_root gid; | 106 | struct rb_root gid; |
107 | struct rcu_head rcu; | ||
107 | }; | 108 | }; |
108 | 109 | ||
109 | struct garp_port { | 110 | struct garp_port { |
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 9d1f510ab6d0..4fff432aeade 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -665,9 +665,7 @@ struct ip_vs_dest { | |||
665 | struct dst_entry *dst_cache; /* destination cache entry */ | 665 | struct dst_entry *dst_cache; /* destination cache entry */ |
666 | u32 dst_rtos; /* RT_TOS(tos) for dst */ | 666 | u32 dst_rtos; /* RT_TOS(tos) for dst */ |
667 | u32 dst_cookie; | 667 | u32 dst_cookie; |
668 | #ifdef CONFIG_IP_VS_IPV6 | 668 | union nf_inet_addr dst_saddr; |
669 | struct in6_addr dst_saddr; | ||
670 | #endif | ||
671 | 669 | ||
672 | /* for virtual service */ | 670 | /* for virtual service */ |
673 | struct ip_vs_service *svc; /* service it belongs to */ | 671 | struct ip_vs_service *svc; /* service it belongs to */ |
@@ -1253,7 +1251,8 @@ extern int ip_vs_tunnel_xmit | |||
1253 | extern int ip_vs_dr_xmit | 1251 | extern int ip_vs_dr_xmit |
1254 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); | 1252 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); |
1255 | extern int ip_vs_icmp_xmit | 1253 | extern int ip_vs_icmp_xmit |
1256 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, int offset); | 1254 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, |
1255 | int offset, unsigned int hooknum); | ||
1257 | extern void ip_vs_dst_reset(struct ip_vs_dest *dest); | 1256 | extern void ip_vs_dst_reset(struct ip_vs_dest *dest); |
1258 | 1257 | ||
1259 | #ifdef CONFIG_IP_VS_IPV6 | 1258 | #ifdef CONFIG_IP_VS_IPV6 |
@@ -1267,7 +1266,7 @@ extern int ip_vs_dr_xmit_v6 | |||
1267 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); | 1266 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp); |
1268 | extern int ip_vs_icmp_xmit_v6 | 1267 | extern int ip_vs_icmp_xmit_v6 |
1269 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, | 1268 | (struct sk_buff *skb, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, |
1270 | int offset); | 1269 | int offset, unsigned int hooknum); |
1271 | #endif | 1270 | #endif |
1272 | 1271 | ||
1273 | #ifdef CONFIG_SYSCTL | 1272 | #ifdef CONFIG_SYSCTL |