Re: Longstanding networking / SMP issue? (duplextest)

David S. Miller (davem@redhat.com)
Sun, 23 Feb 2003 01:55:11 -0800 (PST)


From: Christoph Hellwig <hch@infradead.org>
Date: Sun, 23 Feb 2003 10:02:34 +0000

On Sun, Feb 23, 2003 at 01:12:17AM -0800, David S. Miller wrote:
> +static struct socket *__icmp_socket[NR_CPUS];
> +#define icmp_socket __icmp_socket[smp_processor_id()]

This should be per-cpu data

My bad. Thanks for spotting this.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/