summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipvs/ip_vs_xmit.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2006-01-06 22:24:29 +0100
committerDavid S. Miller2006-01-06 22:24:29 +0100
commit76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 (patch)
treeaa8d9947a722459a0ae0e54c9391a8de7c59aeee /net/ipv4/ipvs/ip_vs_xmit.c
parent[LSM-IPSec]: Corrections to LSM-IPSec Nethooks (diff)
downloadkernel-qcow2-linux-76ab608d86cf1ef5c5c46819b5733eb9f9f964f8.tar.gz
kernel-qcow2-linux-76ab608d86cf1ef5c5c46819b5733eb9f9f964f8.tar.xz
kernel-qcow2-linux-76ab608d86cf1ef5c5c46819b5733eb9f9f964f8.zip
[NET]: Endian-annotate struct iphdr
And fix trivial warnings that emerged. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_xmit.c')
-rw-r--r--net/ipv4/ipvs/ip_vs_xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_xmit.c b/net/ipv4/ipvs/ip_vs_xmit.c
index 3b87482049cf..52c12e9edbbc 100644
--- a/net/ipv4/ipvs/ip_vs_xmit.c
+++ b/net/ipv4/ipvs/ip_vs_xmit.c
@@ -322,7 +322,7 @@ ip_vs_tunnel_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
struct net_device *tdev; /* Device to other host */
struct iphdr *old_iph = skb->nh.iph;
u8 tos = old_iph->tos;
- u16 df = old_iph->frag_off;
+ __be16 df = old_iph->frag_off;
struct iphdr *iph; /* Our new IP header */
int max_headroom; /* The extra header space needed */
int mtu;