Re: ipfrag_lock related lockup

From: Andreas Ehliar (ehliar@lysator.liu.se)
Date: Sat Jun 24 2000 - 05:43:11 EST


On Wed, Jun 21, 2000 at 09:17:11PM +0200, Andi Kleen wrote:
> Looks like a netfilter bug. ip_defrag assumes that it is only called
> from softirq context, but netfilter conntracking calls it from LOCAL_OUT
> in process context.
>
> Could you try the following patch? It makes ip_defrag safe to use in
> process context. Another possible (probably cheaper) fix would be to
> do a local_bh_disable() around the ip_defrag in ip_conntrack_core.
>

I've applied your patch and I haven't noticed any problems after running
for an hour or so. Thanks.

regards
Andreas Ehliar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST