]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/xfrm.h
[IPSEC]: Fix bogus usage of u64 on input sequence number
[linux-2.6-omap-h63xx.git] / include / net / xfrm.h
index ac72116636ca7f46bfb486079fd244d7b5433f9f..eea7785cc757da4c146579503a1193263a2707f5 100644 (file)
@@ -508,7 +508,10 @@ struct xfrm_skb_cb {
         } header;
 
         /* Sequence number for replay protection. */
-        u64 seq;
+       union {
+               u64 output;
+               __be32 input;
+       } seq;
 };
 
 #define XFRM_SKB_CB(__skb) ((struct xfrm_skb_cb *)&((__skb)->cb[0]))