kernel-ark/drivers/parisc
Eric W. Biederman 881d966b48 [NET]: Make the device list and device lookups per namespace.
This patch makes most of the generic device layer network
namespace safe.  This patch makes dev_base_head a
network namespace variable, and then it picks up
a few associated variables.  The functions:
dev_getbyhwaddr
dev_getfirsthwbytype
dev_get_by_flags
dev_get_by_name
__dev_get_by_name
dev_get_by_index
__dev_get_by_index
dev_ioctl
dev_ethtool
dev_load
wireless_process_ioctl

were modified to take a network namespace argument, and
deal with it.

vlan_ioctl_set and brioctl_set were modified so their
hooks will receive a network namespace argument.

So basically anthing in the core of the network stack that was
affected to by the change of dev_base was modified to handle
multiple network namespaces.  The rest of the network stack was
simply modified to explicitly use &init_net the initial network
namespace.  This can be fixed when those components of the network
stack are modified to handle multiple network namespaces.

For now the ifindex generator is left global.

Fundametally ifindex numbers are per namespace, or else
we will have corner case problems with migration when
we get that far.

At the same time there are assumptions in the network stack
that the ifindex of a network device won't change.  Making
the ifindex number global seems a good compromise until
the network stack can cope with ifindex changes when
you change namespaces, and the like.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:49:10 -07:00
..
asp.c
ccio-dma.c [PARISC] fix section mismatch in ccio-dma 2007-05-27 12:35:59 -04:00
ccio-rm-dma.c
dino.c
eisa_eeprom.c
eisa_enumerator.c
eisa.c [PARISC] fix section mismatch in parisc eisa driver 2007-05-27 15:01:14 -04:00
gsc.c
gsc.h
hppb.c hppb: Add missing dma-mapping.h include 2007-07-17 13:53:29 -07:00
iommu-helpers.h [PARISC] ROUNDUP macro cleanup in drivers/parisc 2007-05-22 23:56:18 -04:00
iosapic_private.h
iosapic.c
Kconfig
lasi.c
lba_pci.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
led.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
Makefile
pdc_stable.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
power.c [PARISC] Build fixes for power.c 2007-05-25 19:19:35 -04:00
README.dino
sba_iommu.c [PARISC] ROUNDUP macro cleanup in drivers/parisc 2007-05-22 23:56:18 -04:00
superio.c serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
wax.c

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** REVISIT: "go/pci_defect" link below is stale.
**	HP Internal can use <http://hpfcdma.fc.hp.com:80/Dino/>
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/