lkml.org 
[lkml]   [2003]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Longstanding networking / SMP issue? (duplextest)
On Sun, Feb 23, 2003 at 01:55:11AM -0800, David S. Miller wrote:
> 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.

Won't work if the IPv4 code is ever made modular.

-Andi
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.051 / U:4.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site