X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=net%2Fipv6%2Fah6.c;h=d2af4fe3725b7b9fdb8030a4a08fe3a2ce9c78b9;hb=9c70220b73908f64792422a2c39c593c4792f2c5;hp=e5ee981d3e10a8e80fac479a4975afbab57f4946;hpb=a27ef749e7be3b06fb58df53d94eb97a21f18707;p=h-e-n diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c index e5ee981..d2af4fe 100644 --- a/net/ipv6/ah6.c +++ b/net/ipv6/ah6.c @@ -268,7 +268,7 @@ static int ah6_output(struct xfrm_state *x, struct sk_buff *skb) goto error_free_iph; } - ah = (struct ip_auth_hdr *)skb->h.raw; + ah = (struct ip_auth_hdr *)skb_transport_header(skb); ah->nexthdr = nexthdr; top_iph->priority = 0;