[XFRM] STATE: Add a hook to find offset to be inserted header in outbound.
[linux-2.6.git] / net / ipv6 / ipcomp6.c
index 19eba8d..ad9c6e8 100644 (file)
@@ -461,6 +461,7 @@ static struct xfrm_type ipcomp6_type =
        .destructor     = ipcomp6_destroy,
        .input          = ipcomp6_input,
        .output         = ipcomp6_output,
+       .hdr_offset     = xfrm6_find_1stfragopt,
 };
 
 static struct inet6_protocol ipcomp6_protocol =