Re: Soft lockup on shutdown in nf_ct_iterate_cleanup()

From: Chuck Ebbert
Date: Mon Feb 26 2007 - 12:15:07 EST


Patrick McHardy wrote:
> Chuck Ebbert wrote:
>
> Can you try this patch please?
> ------------------------------------------------------------------------
>
> [NETFILTER]: conntrack: fix {nf,ip}_ct_iterate_cleanup endless loops
>

> include/linux/netfilter_ipv4/ip_conntrack.h | 5 ++--
> include/net/netfilter/nf_conntrack.h | 5 +++-
> include/net/netfilter/nf_nat_rule.h | 3 ++
> net/ipv4/netfilter/ip_conntrack_core.c | 30 ++++++++++++++++++------
> net/ipv4/netfilter/ip_conntrack_standalone.c | 5 ++--
> net/ipv4/netfilter/ip_nat_core.c | 5 ++--
> net/ipv4/netfilter/ipt_MASQUERADE.c | 4 ++-
> net/ipv4/netfilter/nf_nat_core.c | 7 ++----
> net/netfilter/nf_conntrack_core.c | 33 ++++++++++++++++++++------
> net/netfilter/nf_conntrack_proto.c | 4 ++-
> 10 files changed, 69 insertions(+), 32 deletions(-)
>

Changes to nf_nat_core.c, ip_nat_core.c and nf_conntrack_proto.c
do not apply, and nf_conntrack_core.c changes are already there.

This is vanilla 2.6.20; looks like there have been a bunch
of changes since then. I tried adding all of the RCU patches
but even they won't apply.
-
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/