diff options
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r-- | net/ipv6/ah6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c index c51d77564b44..ac6bae17a13b 100644 --- a/net/ipv6/ah6.c +++ b/net/ipv6/ah6.c | |||
@@ -236,6 +236,7 @@ static int ah6_output(struct xfrm_state *x, struct sk_buff *skb) | |||
236 | char hdrs[0]; | 236 | char hdrs[0]; |
237 | } *tmp_ext; | 237 | } *tmp_ext; |
238 | 238 | ||
239 | skb_push(skb, -skb_network_offset(skb)); | ||
239 | top_iph = ipv6_hdr(skb); | 240 | top_iph = ipv6_hdr(skb); |
240 | top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); | 241 | top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); |
241 | 242 | ||