Chuck Ebbert wrote: > Patrick McHardy wrote: > >>This patch is against current stable-2.6.20, it applies >>cleanly to 2.6.20 as well. > > > Everything works OK, but I get: > > BUG: warning: (!list_empty(&unconfirmed)) at > net/netfilter/nf_conntrack_core.c:1068/nf_ct_cleanup() > > <> nf_ct_cleanup+0x66/0x122 [nf_conntrack] > <> kill_l4proto+0x0 [nf_conntrack] > <> nf_conntrack_l4proto_unregister+0x7d/0x82 [nf_conntrack] > <> nf_conntrack_l3proto_ipv4_fini+0x3c/0x46 [nf_conntrack_ipv4] > <> sys_delete_module+0x18a/0x1b1 Thanks, the previous approach doesn't seem to work properly without unpleasant event cache hacks. This patch takes a simpler approach and keeps the unconfirmed list iteration, but makes sure to make forward progress.