linux-stable/arch
Jeff Dike d3b7f69de2 [PATCH] uml: add locking to network transport registration
The registration of host network transports needed some locking.  The
transport list itself is locked, but calls to the registration routines are
not.  This is compensated for by checking that a transport structure is not
yet on any list.

I also took the opportunity to const all fields in the transport structure
except the list, which obviously can be modified.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:21 -08:00
..
alpha [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
arm [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
arm26 [PATCH] ARM26: Use ARRAY_SIZE macro when appropriate 2007-02-11 10:51:19 -08:00
avr32 [AVR32] Add missing #include <linux/module.h> 2007-02-09 15:23:46 +01:00
cris [PATCH] CRIS: TLB handling: turn local_save_flags() + local_irq_disable() into local_irq_save() 2007-02-11 10:51:21 -08:00
frv [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
h8300 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
i386 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
ia64 [PATCH] optional ZONE_DMA: optional ZONE_DMA for ia64 2007-02-11 10:51:18 -08:00
m32r [PATCH] m32r: cosmetic updates and trivial fixes 2007-02-11 10:51:20 -08:00
m68k [PATCH] M68K: user ARRAY_SIZE macro when appropriate 2007-02-11 10:51:20 -08:00
m68knommu [PATCH] M68KNOMMU: user ARRAY_SIZE macro when appropriate 2007-02-11 10:51:20 -08:00
mips [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
parisc [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from parisc 2007-02-11 10:51:18 -08:00
powerpc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
ppc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
s390 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
sh [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from sh/sh64 2007-02-11 10:51:18 -08:00
sh64 [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from sh/sh64 2007-02-11 10:51:18 -08:00
sparc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
sparc64 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
um [PATCH] uml: add locking to network transport registration 2007-02-11 10:51:21 -08:00
v850 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
x86_64 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
xtensa [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00