diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-08 03:21:01 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:21:12 -0500 |
commit | 04ce69093f91547d3a7c4fc815d2868195591340 (patch) | |
tree | 69bea18b5d1b8c2999f13f8e0372491c9f9238e6 /net/sctp/ipv6.c | |
parent | 8c689a6eae2d83970e4f34753d513e96fb97a025 (diff) |
[IPV6]: 'info' argument of ipv6 ->err_handler() is net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 78071c6e6cf1..3c316c688ade 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -84,7 +84,7 @@ static struct notifier_block sctp_inet6addr_notifier = { | |||
84 | 84 | ||
85 | /* ICMP error handler. */ | 85 | /* ICMP error handler. */ |
86 | SCTP_STATIC void sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | 86 | SCTP_STATIC void sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, |
87 | int type, int code, int offset, __u32 info) | 87 | int type, int code, int offset, __be32 info) |
88 | { | 88 | { |
89 | struct inet6_dev *idev; | 89 | struct inet6_dev *idev; |
90 | struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; | 90 | struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; |