BUG() in ip_ct_event_cache_flush()?
David S. Miller
davem at davemloft.net
Thu Oct 6 08:40:46 CEST 2005
I've seen an OOPS backtrace with current 2.6.x kernels
that seems to be in ip_ct_event_cache_flush().
This loop there is suspect:
for_each_cpu(cpu) {
ecache = &per_cpu(ip_conntrack_ecache, cpu);
if (ecache->ct)
ip_conntrack_put(ecache->ct);
}
This should use "for_each_online_cpu()" I think. Non-possible
cpus end up with percpu pointers being NULL or undefined.
Comments?
More information about the netfilter-devel
mailing list