diff options
-rw-r--r-- | include/net/xfrm.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 3878a88ff618..984e5c45265c 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -340,18 +340,19 @@ struct xfrm_policy | |||
340 | atomic_t refcnt; | 340 | atomic_t refcnt; |
341 | struct timer_list timer; | 341 | struct timer_list timer; |
342 | 342 | ||
343 | u8 type; | ||
344 | u32 priority; | 343 | u32 priority; |
345 | u32 index; | 344 | u32 index; |
346 | struct xfrm_selector selector; | 345 | struct xfrm_selector selector; |
347 | struct xfrm_lifetime_cfg lft; | 346 | struct xfrm_lifetime_cfg lft; |
348 | struct xfrm_lifetime_cur curlft; | 347 | struct xfrm_lifetime_cur curlft; |
349 | struct dst_entry *bundles; | 348 | struct dst_entry *bundles; |
350 | __u16 family; | 349 | u16 family; |
351 | __u8 action; | 350 | u8 type; |
352 | __u8 flags; | 351 | u8 action; |
353 | __u8 dead; | 352 | u8 flags; |
354 | __u8 xfrm_nr; | 353 | u8 dead; |
354 | u8 xfrm_nr; | ||
355 | /* XXX 1 byte hole, try to pack */ | ||
355 | struct xfrm_sec_ctx *security; | 356 | struct xfrm_sec_ctx *security; |
356 | struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; | 357 | struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; |
357 | }; | 358 | }; |