[XFRM] STATE: Add a hook to find offset to be inserted header in outbound.
[linux-drm-fsl-dcu.git] / net / ipv6 / ah6.c
index 60954fc7eb36eb0a013e661248a647e10352651e..6c0aa51319a55049b65db1bcb8101bc8fb3e777a 100644 (file)
@@ -435,7 +435,8 @@ static struct xfrm_type ah6_type =
        .init_state     = ah6_init_state,
        .destructor     = ah6_destroy,
        .input          = ah6_input,
-       .output         = ah6_output
+       .output         = ah6_output,
+       .hdr_offset     = xfrm6_find_1stfragopt,
 };
 
 static struct inet6_protocol ah6_protocol = {