Pavel Emelyanov
42a73808ed
[RAW]: Consolidate proc interface.
...
Both ipv6/raw.c and ipv4/raw.c use the seq files to walk
through the raw sockets hash and show them.
The "walking" code is rather huge, but is identical in both
cases. The difference is the hash table to walk over and
the protocol family to check (this was not in the first
virsion of the patch, which was noticed by YOSHIFUJI)
Make the ->open store the needed hash table and the family
on the allocated raw_iter_state and make the start/next/stop
callbacks work with it.
This removes most of the code.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 14:54:32 -08:00
..
acpi
kobject: convert /sys/firmware/acpi/ to use kobject_create
2008-01-24 20:40:23 -08:00
asm-alpha
alpha: build fixes
2007-12-17 19:28:16 -08:00
asm-arm
Merge branch 'pxa-plat' into devel
2008-01-28 13:21:38 +00:00
asm-avr32
[ARM] 4764/1: [AT91] AT91CAP9 core support
2008-01-26 15:01:13 +00:00
asm-blackfin
[Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't compile without it.
2008-01-27 19:56:43 +08:00
asm-cris
ide: remove stale ide.h "configuration options"
2008-01-25 22:17:08 +01:00
asm-frv
ide: remove stale ide.h "configuration options"
2008-01-25 22:17:08 +01:00
asm-generic
sched: SCHED_FIFO/SCHED_RR watchdog timer
2008-01-25 21:08:27 +01:00
asm-h8300
asm-h8300: parentheses around definition CLOCK_TICK_RATE
2007-12-10 19:43:54 -08:00
asm-ia64
[IA64] Update Altix BTE error return status patch
2008-01-03 13:18:58 -08:00
asm-m32r
m32r: Update sys_rt_sigsuspend
2007-11-28 01:24:04 +09:00
asm-m68k
asm-m68knommu
m68knommu: fix pread/pwrite defines
2007-11-05 15:12:33 -08:00
asm-mips
[MIPS] SMTC: Fix build error.
2008-01-22 00:35:23 +00:00
asm-parisc
[PARISC] print more than one character at a time for pdc console
2007-12-06 09:32:15 -08:00
asm-powerpc
ide: remove stale ide.h "configuration options"
2008-01-25 22:17:08 +01:00
asm-ppc
asm-s390
[S390] do local_irq_restore while spinning in spin_lock_irqsave.
2008-01-26 14:11:31 +01:00
asm-sh
sh: add spi header and r2d platform data V3
2008-01-28 16:24:46 +09:00
asm-sparc
[SPARC32]: Silence sparc32 warnings on missing syscalls.
2007-12-14 10:59:50 -08:00
asm-sparc64
[SPARC64]: Implement pci_resource_to_user()
2007-12-26 19:33:46 -08:00
asm-um
uml: update address space affected by pud_clear
2007-11-14 18:45:37 -08:00
asm-v850
asm-x86
sched: high-res preemption tick
2008-01-25 21:08:29 +01:00
asm-xtensa
crypto
[CRYPTO] api: Include sched.h for cond_resched in scatterwalk.h
2008-01-11 08:16:59 +11:00
keys
linux
[NET]: Consolidate net namespace related proc files creation.
2008-01-28 14:54:28 -08:00
math-emu
media
i2c: Constify client address data
2008-01-27 18:14:46 +01:00
mtd
net
[RAW]: Consolidate proc interface.
2008-01-28 14:54:32 -08:00
pcmcia
[AVR32] pcmcia ioaddr_t should be 32 bits on AVR32
2007-11-15 13:47:19 +01:00
rdma
RDMA/cma: add support for rdma_migrate_id()
2008-01-25 14:15:32 -08:00
rxrpc
scsi
SG: Convert SCSI to use scatterlist helpers for sg chaining
2008-01-28 10:05:27 +01:00
sound
[ALSA] version 1.0.15
2007-11-20 20:16:43 +01:00
video
xen
Kbuild