xfrm: Use separate low and high order bits of the sequence numbers in xfrm_skb_cb
[linux-drm-fsl-dcu.git] / net / ipv4 / ah4.c
index 325053df6e705f6a413f73f4abb9db4651ee9bb4..4286fd3cc0e2bce0a09655959d0b7c699b711aaa 100644 (file)
@@ -208,7 +208,7 @@ static int ah_output(struct xfrm_state *x, struct sk_buff *skb)
 
        ah->reserved = 0;
        ah->spi = x->id.spi;
-       ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output);
+       ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low);
 
        sg_init_table(sg, nfrags);
        skb_to_sgvec(skb, sg, 0, skb->len);