Re: zlib oops with ipcomp in 2.6.24

From: David Miller
Date: Thu Feb 28 2008 - 14:24:16 EST


From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 01:50:11 +0800

> [IPCOMP]: Disable BH on output when using shared tfm
>
> Because we use shared tfm objects in order to conserve memory,
> (each tfm requires 128K of vmalloc memory), BH needs to be turned
> off on output as that can occur in process context.
>
> Previously this was done implicitly by the xfrm output code.
> That was lost when it became lockless. So we need to add the
> BH disabling to IPComp directly.
>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Applied, thanks Herbert.

The xfrm output lockless stuff is only in 2.6.25, so
we should not need this for -stable right?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/