- 05 Oct, 2004 12 commits
-
-
Manfred Spraul authored
Ted's recent random.c update broke the periodic rekeying: schedule_work() doesn't provide synchronization. Additionally the first syn values after boot are generated with secret 0 - not good. Attached is a big cleanup. Linus asked me to send to to you for merging: The tcp sequence number generator needs a random seed that is reset every few minutes. Since the sequence numbers should be constantly increasing, for each rekey 2^24 is added to the sequence number. The actual use of the sequence number generator is lockless, synchronization is achieved by having two copies of the control structure. The attached patch: - fixes a race in rekey_seq_generator(): schedule_work doesn't provide synchronization. - Uses schedule_delayed_work() for the rekey: simplifies synchronization and speeds up the hot path. - Adds a late_initcall for the first initialization after boot. init_call would be too early, I've checked that the late_initcall runs before net/ipv4/ipconfig.c, i.e. the BOOTP/DHCP autoconfiguration. Signed-Off-By: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Thomas Graf authored
Fixes the existing rate estimator to compile cleanly on all platforms and avoids carrying on the variance on platforms with HZ%4 != 0. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Work done by Thomas Graf <tgraf@suug.ch> and Jamal Hadi Salim <hadi@cyberus.ca> The following patchset introduces generic network statistics for netlink users. It uses nested TLV which prevents further compatibility problems when introducing new statistics. Backward compatibility to existing TLV types TCA_STATS and TCA_XSTATS is ensured but can be easly removed once it is no longer needed. Therefore prior users of struct tc_stats can be converted to this API and existing userspace applications will not notice a difference while converted applications can use the new extendable statistic interface. Changes: - Add generic network statistics API for netlink users. - Introduces a generic rate estimator based on timers. Patch is based on Jamals patch and adapted to the new generic network statistics API. - Add documentation of generic network statistics and estimator API. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Thomas Graf authored
Remove useless line in cbq_dump_class probably introduced by copy&paste from cbq_dump. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Patrick Caulfield authored
Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Maciej W. Rozycki authored
Signed-off-by; Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Maciej W. Rozycki authored
Signed-off-by; Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Maciej W. Rozycki authored
There is a problem with "struct fddi_statistics" for 64-bit systems. The starting members of the struct are expected to correspond to the respective members of "struct net_device_stats" (drivers for FDDI devices return "struct fddi_statistics" in the response to the get_stats() call of "struct net_device"). Unfortunately, due to using different types (u32 vs ulong) they do not. "struct net_device_stats" is a public interface and as a result, bogus results are retrieved, e.g. for /proc/net/dev. Here is my proposal to address the problem. I think there is no point in duplicating the layout of "struct net_device_stats" in "struct fddi_statistics" as the former can simply be included as a member avoiding this problem and actually any possible discrepancy in the future. This also preserves the layout of the structure for 32-bit systems. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
James Morris authored
This patch from Herbert V. Riedel <hvr@gnu.org> adds __initdata to the generic AES code where appropriate. I also added __init to f_mult(). Signed-off-by: Herbert V. Riedel <hvr@gnu.org> Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Greg Banks authored
Fix a race between neigh_timer_handler() calling down to arp_solicit() with an sk_buff peeked from the head of the neigh->arp_queue, and neigh_event_send() unqueuing and freeing the head of the same queue because it's reached the maximum length of 3, by taking an extra sk_buff reference while holding neigh->lock. Signed-off-by: Greg Banks <gnb@melbourne.sgi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Wensong Zhang authored
Here is the patch from Justin Ossevoort <justin@snt.utwente.nl> to fix endian problem on IPVS sync message size. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Michael Hunold authored
The I2C adapter wasn't de-registered correctly in case the video card wasn't found. When the I2C subsystem tried to speak with the dangling I2C adapter later on, usually an oops happened.
-
- 06 Oct, 2004 1 commit
-
-
Dave Airlie authored
Roman Zippel submitted this to lk but I missed it, it does what I tried to do badly before. Signed-off-by: Dave Airlie <airlied@linux.ie>
-
- 04 Oct, 2004 1 commit
-
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 05 Oct, 2004 1 commit
-
-
Ben Dooks authored
Patch from Ben Dooks Fixed GPG pin numbering, and missing changelog Added code to setup the interrupt filtering on compatible Pins Signed-off-by: Ben Dooks
-
- 04 Oct, 2004 8 commits
-
-
Ben Dooks authored
Patch from Ben Dooks Header file defining S3C2410 SPI registers Signed-off-by: Klaus Fetscher Signed-off-by: Ben Dooks
-
Ben Dooks authored
Patch from Ben Dooks Added documentation for the GPIO calls, updated the overview with more information on the supported core devices, and updated the state of the EB2410ITX Signed-off-by: Ben Dooks
-
Russell King authored
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Linus Torvalds authored
Al suggested a sparse warning. And sure enough, it found these ones.
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 03 Oct, 2004 17 commits
-
-
Bastian Blank authored
The attached patch makes s390 sclp driver buildable again. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Ben Dooks authored
Patch from Ben Dooks Add definitions to the MISCCR register for configuration of the signal states in power down mode. Signed-off-by: Ben Dooks
-
Ben Dooks authored
Patch from Ben Dooks Include file include/asm-arm/arch-s3c2410/regs-iic.h, for the I2C controller on the S3C2410 Samsung SoC. Signed-off-by: Ben Dooks
-
Ben Dooks authored
Patch from Ben Dooks Header file include/asm-arm/arch-s3c2410/regs-mem.h containing definitions for the S3C2410 memory controller Signed-off-by: Ben Dooks
-
Dave Jiang authored
Patch from Dave Jiang Latest IQ80331 redboot changed value of ATU registers and is causing master aborts on the plugged in card. Changing value back to previous sane state for Linux. Signed-off-by: Dave Jiang (dave.jiang@gmail.com) Patch in replacement of 2099/1 due to formatting problems.
-
Russell King authored
-
Russell King authored
-
Russell King authored
-
Russell King authored
Some compilers seem to get "%?" wrong in macros.
-
Russell King authored
We really need to check that we have access to the whole of the signal frame when we allocate it, rather than "most of it" when we have iWMMXt extensions selected.
-
Russell King authored
- Use ISA_DMA_THRESHOLD as the mask for GFP_DMA allocations. - Don't allow DMA allocations which are for a "smaller" mask than ISA_DMA_THRESHOLD. - Ensure that "handle" is initialised to our error value when returning an error.
-
Russell King authored
-
Russell King authored
Add locking for use of kecardd services. Use wait_event_interruptible() rather htan interruptible_sleep_on().
-
Ben Dooks authored
Patch from Ben Dooks Fix missing changelog entries in <asm-arm/arch-s3c2410/hardware.h>, and erroneous EINT definitions in <asm-arm/arch-s3c2410/regs-gpio.h>. Added s3c2410_gpio_getcfg(pin) and s3c2410_gpio_getirq(pin) to get the current configuration of an pin, and which IRQ (if any) maps to it. Signed-off-by: Ben Dooks
-
Ben Dooks authored
Patch from Ben Dooks USB power control and over-current sense Signed-off-by: Ben Dooks
-
Ben Dooks authored
Patch from Ben Dooks Port power control and management for S3C2410 internal USB controller for different boards to interface their power control system to. Signed-off-by: Ben Dooks
-