aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r--net/ipv6/ah6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c
index b0d83e8e4252..2d9e495cf691 100644
--- a/net/ipv6/ah6.c
+++ b/net/ipv6/ah6.c
@@ -397,7 +397,7 @@ out:
397} 397}
398 398
399static void ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, 399static void ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
400 int type, int code, int offset, __u32 info) 400 int type, int code, int offset, __be32 info)
401{ 401{
402 struct ipv6hdr *iph = (struct ipv6hdr*)skb->data; 402 struct ipv6hdr *iph = (struct ipv6hdr*)skb->data;
403 struct ip_auth_hdr *ah = (struct ip_auth_hdr*)(skb->data+offset); 403 struct ip_auth_hdr *ah = (struct ip_auth_hdr*)(skb->data+offset);