Re: Longstanding networking / SMP issue? (duplextest)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux