diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-08 00:27:11 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:21:26 -0800 |
commit | ae08e1f092210619fe49551aa3ed0dc0003d5880 (patch) | |
tree | 80e0ef51a052f811394b29bb19422feba80795bb /net/ipv6 | |
parent | 98a4a86128d7179b22365e16bf880e849e20bc7d (diff) | |
download | kernel-crypto-ae08e1f092210619fe49551aa3ed0dc0003d5880.tar.gz kernel-crypto-ae08e1f092210619fe49551aa3ed0dc0003d5880.tar.xz kernel-crypto-ae08e1f092210619fe49551aa3ed0dc0003d5880.zip |
[IPV6]: ip6_output annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ip6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 9ff1be1bc2e..93330685adf 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -267,7 +267,7 @@ int ip6_nd_hdr(struct sock *sk, struct sk_buff *skb, struct net_device *dev, hdr = (struct ipv6hdr *) skb_put(skb, sizeof(struct ipv6hdr)); skb->nh.ipv6h = hdr; - *(u32*)hdr = htonl(0x60000000); + *(__be32*)hdr = htonl(0x60000000); hdr->payload_len = htons(len); hdr->nexthdr = proto; @@ -571,7 +571,7 @@ static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)) struct ipv6hdr *tmp_hdr; struct frag_hdr *fh; unsigned int mtu, hlen, left, len; - u32 frag_id = 0; + __be32 frag_id = 0; int ptr, offset = 0, err=0; u8 *prevhdr, nexthdr = 0; |