netns xfrm: add struct xfrm_state::xs_net
[deliverable/linux.git] / net / ipv4 / ipcomp.c
index ec8264ae45c265b831cd3ddce82e5e877a69c70f..0a35f1b6f22c8a4ac095d0c01bfcb2f227589ed3 100644 (file)
@@ -49,7 +49,7 @@ static struct xfrm_state *ipcomp_tunnel_create(struct xfrm_state *x)
 {
        struct xfrm_state *t;
 
-       t = xfrm_state_alloc();
+       t = xfrm_state_alloc(&init_net);
        if (t == NULL)
                goto out;
 
This page took 0.030896 seconds and 5 git commands to generate.