X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Fipcomp.c;h=89e320d5270ee4f70515a51b4f254c621cd07c07;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=6845207f2eddb64383c74957f997ed9a59c69b99;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c index 6845207f2..89e320d52 100644 --- a/net/ipv4/ipcomp.c +++ b/net/ipv4/ipcomp.c @@ -472,7 +472,7 @@ static int ipcomp_init_state(struct xfrm_state *x, void *args) goto error_tunnel; } - calg_desc = xfrm_calg_get_byname(x->calg->alg_name); + calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0); BUG_ON(!calg_desc); ipcd->threshold = calg_desc->uinfo.comp.threshold; x->data = ipcd;