]> git.hungrycats.org Git - linux/log
linux
21 years ago[PATCH] via-velocity: wrong buffer offset in velocity_init_td_ring()
François Romieu [Mon, 4 Oct 2004 13:11:20 +0000 (09:11 -0400)]
[PATCH] via-velocity: wrong buffer offset in velocity_init_td_ring()

Buffer offset calculation was incorrect in velocity_init_td_ring().
This didn't cause any trouble because we only use the first td ring.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years ago[PATCH] via-velocity: removal of incomplete endianness handling
François Romieu [Mon, 4 Oct 2004 13:11:05 +0000 (09:11 -0400)]
[PATCH] via-velocity: removal of incomplete endianness handling

Removed cpu_to_le32 call on OWNED_BY_NIC. This will produce 0x01000000 on
big endian machines while rdesc0.owner still evaluates to 0x00000000 or
0x00000001. BTW, unless we reorder bit fields on big endian machines or
use u32's and cpu_to_le32'd bit mask macros, current code won't work on big
endian machines.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years ago[PATCH] via-velocity: early invocation of init_cam_filter()
François Romieu [Mon, 4 Oct 2004 13:10:51 +0000 (09:10 -0400)]
[PATCH] via-velocity: early invocation of init_cam_filter()

In velocity_init_registers(), init_cam_filter() clears mCAMmask which
might have been set by set_multi() (not sure if this can ever occur).
Modified to invoke init_cam_filter() first. Also, clear_isr() is called
twice. Removed the first invocation.

In velocity_found1(), there was a unneeded assignment from vptr to
dev->priv.  Removed.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years ago[PATCH] via-velocity: received ring wrong index and missing barriers
François Romieu [Mon, 4 Oct 2004 13:10:39 +0000 (09:10 -0400)]
[PATCH] via-velocity: received ring wrong index and missing barriers

There were several receive ring related bugs.

In velocity_give_many_rx_descs(), index calculation was incorrect.
This and bugs in velocity_rx_srv() described in the following paragraph
caused packet loss, truncation and infinite error interrupt generation.

In velocity_rx_srv(), velocity_rx_refill() could be called without any
dirty slot.  With proper timing, This can result in refilling yet
unreceived packets and pushing dirty pointer ahead of the current pointer.
And vptr->rd_curr which is used by velocity_rx_refill() was updated after
calling velocity_rx_refill() thus screwing receive descriptor ring.
Also, between checking owner and reading the packet, rmb() is missing.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years ago[PATCH] via-velocity: velocity_give_rx_desc() removal
François Romieu [Mon, 4 Oct 2004 13:10:25 +0000 (09:10 -0400)]
[PATCH] via-velocity: velocity_give_rx_desc() removal

In velocity_give_rx_desc(), there should be a wmb() between resetting the
first four bytes of rdesc0 and setting owner. As resetting the first four
bytes isn't necessary, I just removed the function and directly set owner.
Another rationale for removing the function:
The function doesn't handle synchronization. We should do wmb() before
calling the function.  So, I think using bare assignment makes the fact
more explicit.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years ago[PATCH] via-velocity: removal of unused velocity_info.xmit_lock
François Romieu [Mon, 4 Oct 2004 13:10:12 +0000 (09:10 -0400)]
[PATCH] via-velocity: removal of unused velocity_info.xmit_lock

Removed unused velocity_info.xmit_lock.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years ago[PATCH] via-velocity: properly manage the count of adapters
François Romieu [Mon, 4 Oct 2004 13:09:58 +0000 (09:09 -0400)]
[PATCH] via-velocity: properly manage the count of adapters

velocity_nics wasn't managed properly.

Signed-off-by: Tejun Heo <tj@home-tj.org>
21 years agoMerge pobox.com:/spare/repo/linux-2.6
Jeff Garzik [Mon, 4 Oct 2004 13:08:12 +0000 (09:08 -0400)]
Merge pobox.com:/spare/repo/linux-2.6
into pobox.com:/spare/repo/net-drivers-2.6

21 years ago[PATCH] olympic driver: fix kernel oops on lobe fault
Neil Horman [Mon, 4 Oct 2004 12:48:22 +0000 (08:48 -0400)]
[PATCH] olympic driver: fix kernel oops on lobe fault

It fixes an oops that results when a lobe fault is detected.  The oops
occurs because a lobe fault triggers an interrupt which is handled
in the current version of the driver by effectively shutting down the
card, and freeing its requisite irq.  The former is fine, the latter
is not, as its illegal to free an irq from within an interrupt context.

I've fixed this bug by removing the call to free_irq from the interrupt
handler (specifically the chunk around line 964 fixes that).  While I
was in there I noticed that there were several other conditions in
the interrupt handler that contained the same condition, so I made
the same fix there.  I re-added.

I also modified the contents of olympic_freemem (the chunk around line
898 to correct a misuse of a pointer after it requisite memory has
been free in the case the the adapter is re-initalized after a fault
to prevent that oops.  And then I clean up the interrupt handler to
simply use olympic_freemem from the close routine since the ring buffer
doesn't need to be freed until the driver is closed.

In addition to these changes I added a call to olympic init in
olympic_open and reset the spinlock so the adapter can be reset and
rejoin the ring without needing to rmmod/insmod the module.  Lastly I
cleaned up the wait queue code so that the close routine didn't have
to wait 60 seconds to close the adapter if a fatal fault has closed
the adapter.

Signed-off-by: Neil Horman <nhorman@redhat.com>
21 years agoppc64: fix non-C99 named initializers
Linus Torvalds [Mon, 4 Oct 2004 05:17:43 +0000 (22:17 -0700)]
ppc64: fix non-C99 named initializers

Al suggested a sparse warning. And sure enough, it found
these ones.

21 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Mon, 4 Oct 2004 01:06:25 +0000 (18:06 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] s390: sclp compile fix
Bastian Blank [Sun, 3 Oct 2004 10:03:46 +0000 (03:03 -0700)]
[PATCH] s390: sclp compile fix

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>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 3 Oct 2004 10:02:24 +0000 (03:02 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2121/1: S3C2410 - add S3C2410_MISCCR definitions for power down config
Ben Dooks [Sun, 3 Oct 2004 23:47:53 +0000 (00:47 +0100)]
[ARM PATCH] 2121/1: S3C2410 - add S3C2410_MISCCR definitions for power down config

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
21 years ago[ARM PATCH] 2120/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-iic.h
Ben Dooks [Sun, 3 Oct 2004 23:40:37 +0000 (00:40 +0100)]
[ARM PATCH] 2120/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-iic.h

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
21 years ago[ARM PATCH] 2119/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-mem.h
Ben Dooks [Sun, 3 Oct 2004 23:34:46 +0000 (00:34 +0100)]
[ARM PATCH] 2119/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-mem.h

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
21 years ago[ARM PATCH] 2117/1: Fix ATU config on IQ80331 to prevent master aborts, replace 2099/1
Dave Jiang [Sun, 3 Oct 2004 23:28:36 +0000 (00:28 +0100)]
[ARM PATCH] 2117/1: Fix ATU config on IQ80331 to prevent master aborts, replace 2099/1

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.

21 years ago[ARM] clk_* functions take frequencies in Hz not kHz
Russell King [Sun, 3 Oct 2004 23:20:42 +0000 (00:20 +0100)]
[ARM] clk_* functions take frequencies in Hz not kHz

21 years ago[ARM] Add POSIX message queue and waitid syscalls.
Russell King [Sun, 3 Oct 2004 22:58:34 +0000 (23:58 +0100)]
[ARM] Add POSIX message queue and waitid syscalls.

21 years ago[ARM] mach-types update.
Russell King [Sun, 3 Oct 2004 22:46:48 +0000 (23:46 +0100)]
[ARM] mach-types update.

21 years ago[ARM] Remove "%?" from within macros containing assembly.
Russell King [Sun, 3 Oct 2004 22:09:31 +0000 (23:09 +0100)]
[ARM] Remove "%?" from within macros containing assembly.

Some compilers seem to get "%?" wrong in macros.

21 years ago[ARM] Check access permissions for whole of signal stack frame.
Russell King [Sun, 3 Oct 2004 21:46:58 +0000 (22:46 +0100)]
[ARM] Check access permissions for whole of signal stack frame.

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.

21 years ago[ARM] Fix consistent.c for DMA allocations.
Russell King [Sun, 3 Oct 2004 21:36:58 +0000 (22:36 +0100)]
[ARM] Fix consistent.c for DMA allocations.

- 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.

21 years ago[ARM] Add "noirqdebug" option to match x86 option.
Russell King [Sun, 3 Oct 2004 21:13:48 +0000 (22:13 +0100)]
[ARM] Add "noirqdebug" option to match x86 option.

21 years ago[ARM] ecard.c locking and wait_event_interruptible() fix
Russell King [Sun, 3 Oct 2004 20:57:03 +0000 (21:57 +0100)]
[ARM] ecard.c locking and wait_event_interruptible() fix

Add locking for use of kecardd services.
Use wait_event_interruptible() rather htan interruptible_sleep_on().

21 years ago[ARM PATCH] 2118/1: S3C2410 - gpio updates and header file fix
Ben Dooks [Sun, 3 Oct 2004 16:52:59 +0000 (17:52 +0100)]
[ARM PATCH] 2118/1: S3C2410 - gpio updates and header file fix

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
21 years ago[ARM PATCH] 2103/1: BAST - USB power control
Ben Dooks [Sun, 3 Oct 2004 16:47:46 +0000 (17:47 +0100)]
[ARM PATCH] 2103/1: BAST - USB power control

Patch from Ben Dooks

USB power control and over-current sense

Signed-off-by: Ben Dooks
21 years ago[ARM PATCH] 2101/1: S3C2410 - usb port management
Ben Dooks [Sun, 3 Oct 2004 16:42:39 +0000 (17:42 +0100)]
[ARM PATCH] 2101/1: S3C2410 - usb port management

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
21 years ago[ARM PATCH] 2095/1: i.MX time keeping
Sascha Hauer [Sun, 3 Oct 2004 16:34:05 +0000 (17:34 +0100)]
[ARM PATCH] 2095/1: i.MX time keeping

Patch from Sascha Hauer

This patch fixes the i.MX timer functions:
- imx_gettimeoffset() now returns proper values
- fix timer interrupt frequency

Signed-off-by: Sascha Hauer
21 years ago[PATCH] ppc64: fix cross-compilation
Roland Dreier [Sun, 3 Oct 2004 04:04:37 +0000 (21:04 -0700)]
[PATCH] ppc64: fix cross-compilation

After the "ppc64 monster cleanup," I get

    powerpc-750-linux-gnu-strip: vmlinux: File format not recognized

from my ppc32 strip command when cross-compiling a ppc64 kernel, since
vmlinux is a 64-bit ELF file.  This patch fixes my build (and the
resulting kernel boots fine).

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Avoid unnecessary copy for EPOLL_CTL_DEL
Davide Libenzi [Sun, 3 Oct 2004 02:51:43 +0000 (19:51 -0700)]
[PATCH] Avoid unnecessary copy for EPOLL_CTL_DEL

Ulrich Drepper points out that EPOLL_CTL_DEL doesn't need to copy any of
the hash events.

Also, we should specify in the man pages that a NULL is allowed in
EPOLL_CTL_DEL.  Currently it does not say that.

Also, starting from when epoll uses rbtrees instead of hashes, the
'size' hint passed to epoll_create(2) is no more used.  But since an API
change has clearly to be excluded, I guess it'll stay as is.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Add DEVPATH env variable to hotplug helper call
Josef \'Jeff\' Sipek [Sun, 3 Oct 2004 02:51:31 +0000 (19:51 -0700)]
[PATCH] Add DEVPATH env variable to hotplug helper call

Add $DEVPATH to the environmental variables during /sbin/hotplug call.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@optonline.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Use proper sysfs mount-point in documentation
Josef \'Jeff\' Sipek [Sun, 3 Oct 2004 02:51:20 +0000 (19:51 -0700)]
[PATCH] Use proper sysfs mount-point in documentation

Signed-off-by: Josef "Jeff" Sipek <jeffpc@optonline.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Properly recognize PowerMac7,3
Andreas Schwab [Sun, 3 Oct 2004 02:41:05 +0000 (19:41 -0700)]
[PATCH] Properly recognize PowerMac7,3

Make the PowerMac7,3 no longer unknown.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] usb: hcd locking fix
Alan Cox [Sun, 3 Oct 2004 02:35:52 +0000 (19:35 -0700)]
[PATCH] usb: hcd locking fix

Missing up() on an error path.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://linux-ntfs.bkbits.net/ntfs-2.6
Linus Torvalds [Sun, 3 Oct 2004 02:28:57 +0000 (19:28 -0700)]
Merge bk://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Sun, 3 Oct 2004 09:08:37 +0000 (10:08 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoNTFS: Fix another stupid bug in fs/ntfs/attrib.c::ntfs_external_attr_find()
Anton Altaparmakov [Sun, 3 Oct 2004 09:04:47 +0000 (10:04 +0100)]
NTFS: Fix another stupid bug in fs/ntfs/attrib.c::ntfs_external_attr_find()
      where we forgot to unmap the extent mft record when we had finished
      enumerating an attribute which caused a bug check to trigger when the
      VFS calls ->clear_inode.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
21 years ago[PATCH] document DRM ioctl use
Jon Smirl [Sun, 3 Oct 2004 02:19:35 +0000 (19:19 -0700)]
[PATCH] document DRM ioctl use

Document DRM's usage of 'd' as its ioctl identifier.  This can't be
changed, it is in every X server.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix block layer ioctl bug
Ed L. Cashin [Sun, 3 Oct 2004 02:19:23 +0000 (19:19 -0700)]
[PATCH] fix block layer ioctl bug

If the blockdev doesn't implement BLKFLSBUF and returns -ENOTTY we should
still go ahead and perform the VFS-level sync.  We need to test for both
ENOTTY and EINVAL because some SCSI drivers incorrectly return EINVAL.

Signed-off-by: Ed L Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] doc: remove lingering PC-9800 param.
Randy Dunlap [Sun, 3 Oct 2004 02:19:11 +0000 (19:19 -0700)]
[PATCH] doc: remove lingering PC-9800 param.

Remove lingering PC-9800 doc.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] msleep_interruptible(): fix whitespace
Maximilian Attems [Sun, 3 Oct 2004 02:18:59 +0000 (19:18 -0700)]
[PATCH] msleep_interruptible(): fix whitespace

thanks Xu for noticing, some whitespace found it's way there.
clean that up.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix up tty patch problem with pc300 and clean up braces
Alan Cox [Sun, 3 Oct 2004 02:18:47 +0000 (19:18 -0700)]
[PATCH] Fix up tty patch problem with pc300 and clean up braces

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix Kconfig for EDD
Alan Cox [Sun, 3 Oct 2004 02:18:35 +0000 (19:18 -0700)]
[PATCH] Fix Kconfig for EDD

EDD fails with ACARD scsi devices present (hang on the 16bit bios call at
boot)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] scsi docs fix
Alan Cox [Sun, 3 Oct 2004 02:18:23 +0000 (19:18 -0700)]
[PATCH] scsi docs fix

People have had a long time to change and be aware of the correct return.
Some drivers now generate the correct return too.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] overcommit documentation fix
Hugh Dickins [Sun, 3 Oct 2004 02:18:11 +0000 (19:18 -0700)]
[PATCH] overcommit documentation fix

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Updated IXP4xx MTD driver from CVS (v1.6)
Deepak Saxena [Sun, 3 Oct 2004 02:17:59 +0000 (19:17 -0700)]
[PATCH] Updated IXP4xx MTD driver from CVS (v1.6)

Following patch updates the IXP4xx MTD driver with the latest
version from MTD CVS.

Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: change to use temporary register variables
Hirokazu Takata [Sun, 3 Oct 2004 02:17:47 +0000 (19:17 -0700)]
[PATCH] m32r: change to use temporary register variables

I made a patch to upgrade some header files for m32r.

- Change to use temporary register variables allocated by the compiler,
  instead of fiexd register varialbes.
- Change __inline__ to inline.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: architecture upgrade on 20040928
Hirokazu Takata [Sun, 3 Oct 2004 02:17:35 +0000 (19:17 -0700)]
[PATCH] m32r: architecture upgrade on 20040928

Miscellaneous upgrade for recent m32r kernel changes.

* arch/m32r/kernel/entry.S:
Add system calls; taken from asm-i386/unistd.h.
- [PATCH][2/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: i386  (05/31/2004)
- [PATCH] Make key management use syscalls not prctls (09/06/2004)

* arch/m32r/kernel/io_m32102.c: Remove.
This file is no longer used. Please remove this file.

* arch/m32r/kernel/irq.c:
- Fix the unnecessary entropy call in the irq handler.

* arch/m32r/kernel/signal.c:
- Merge common signal handling fault handling in generic code;
  use force_sigsegv() instead of force_sig().

* arch/m32r/kernel/smp.c:
- Just add brackets.

* include/asm-m32r/hardirq.h:
- factor out common <asm/hardirq.h> code

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: update comments for Renesas
Hirokazu Takata [Sun, 3 Oct 2004 02:17:24 +0000 (19:17 -0700)]
[PATCH] m32r: update comments for Renesas

Here is a patch to update comments for Renesas.
The M32R processor is a product of Renesas Technology Corporation now.

* arch/m32r/kernel/setup.c:
- Change from "MITSUBISHI" to "Renesas"
- Remove RCS ID.
* arch/m32r/kernel/setup_m32700ut.c: ditto.
* arch/m32r/kernel/setup_mappi.c: ditto.

* arch/m32r/kernel/setup_mappi2.c:
- Remove RCS ID.
* arch/m32r/kernel/setup_oaks32r.c: ditto.
* arch/m32r/kernel/setup_opsput.c: ditto.
* arch/m32r/kernel/setup_usrv.c: ditto.

* include/asm-m32r/m32102.h:
- Add copyright statement of Renesas
- Remove RCS ID.
* include/asm-m32r/m32r.h: ditto.
* include/asm-m32r/m32r_mp_fpga.h: ditto.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mips: added interrupt control routines for vrc4173
Yoichi Yuasa [Sun, 3 Oct 2004 02:17:12 +0000 (19:17 -0700)]
[PATCH] mips: added interrupt control routines for vrc4173

This change had added interrupt control routines for vrc4173.

Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mips: added CPU type checking to interrupt control routines
Yoichi Yuasa [Sun, 3 Oct 2004 02:17:00 +0000 (19:17 -0700)]
[PATCH] mips: added CPU type checking to interrupt control routines

This change had added CPU type checking to interrupt control routines.

Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vm: prevent kswapd pageout priority windup
Nick Piggin [Sun, 3 Oct 2004 02:16:48 +0000 (19:16 -0700)]
[PATCH] vm: prevent kswapd pageout priority windup

Now that we are correctly kicking off kswapd early (before the synch
reclaim watermark), it is really doing asynchronous pageout.  This has
exposed a latent problem where allocators running at the same time will
make kswapd think it is getting into trouble, and cause too much swapping
and suboptimal behaviour.

This patch changes the kswapd scanning algorithm to use the same metrics
for measuring pageout success as the synchronous reclaim path - namely, how
much work is required to free SWAP_CLUSTER_MAX pages.

This should make things less fragile all round, and has the added benefit
that kswapd will continue running so long as memory is low and it is
managing to free pages, rather than going through the full priority loop,
then giving up.  Should result in much better behaviour all round,
especially when there are concurrent allocators.

akpm: the patch was confirmed to fix up the excessive swapout which Ray Bryant
<raybry@sgi.com> has been reporting.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] JFFS2 mount options discarded
Todd Poynor [Sun, 3 Oct 2004 02:16:36 +0000 (19:16 -0700)]
[PATCH] JFFS2 mount options discarded

  Yoann Vandoorselaere noticed an attempt to mount a JFFS2 filesystem
  read-only mounts writeable instead.

From: David Woodhouse <dwmw2@infradead.org>

  and make it fix the memory leak on failure too:

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: EEH checks mistakenly became no-ops
David Gibson [Sun, 3 Oct 2004 02:16:24 +0000 (19:16 -0700)]
[PATCH] ppc64: EEH checks mistakenly became no-ops

Recent changes which removed the use of IO tokens for EEH enabled devices
had a bug, which mean we now never do EEH checks at all.

This patch corrects the problem.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: squash childregs warnings
David Gibson [Sun, 3 Oct 2004 02:16:12 +0000 (19:16 -0700)]
[PATCH] ppc64: squash childregs warnings

Squash a couple of "pointer from integer" warnings recently introduced.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc: time interpolator build fix
Christoph Lameter [Sun, 3 Oct 2004 02:16:00 +0000 (19:16 -0700)]
[PATCH] ppc: time interpolator build fix

Remove two leftover #includes from timex.h which may cause a build failure
for ppc.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cpufreq: ondemand: account iowait as idle time
Dominik Brodowski [Sun, 3 Oct 2004 02:15:48 +0000 (19:15 -0700)]
[PATCH] cpufreq: ondemand: account iowait as idle time

From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>

This patch changes the idle time accounting in ondemand governor.
With this patch ondemand governor accounts cpu iowait time as idle time.

Thanks to Stefan Seyfried for identifying this issue.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cpufreq: ondemand: prevent various divide underflows
Dominik Brodowski [Sun, 3 Oct 2004 02:15:36 +0000 (19:15 -0700)]
[PATCH] cpufreq: ondemand: prevent various divide underflows

From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>

Check for lower limit of latency / sampling rate, and fix divide
underflows.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: Lindenhurst MSI build fix
Andi Kleen [Sun, 3 Oct 2004 02:15:24 +0000 (19:15 -0700)]
[PATCH] x86_64: Lindenhurst MSI build fix

Fix the Lindenhurst MSI fix on x86-64 to compile again

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] swsusp: fix highmem
Stefan Seyfried [Sun, 3 Oct 2004 02:15:12 +0000 (19:15 -0700)]
[PATCH] swsusp: fix highmem

From: Pavel Machek <pavel@ucw.cz>

This actually calls highmem_resume(), so swsusp has chance to work on
highmem machines.  It also adds comments about code flow, which is quite
interesting at that point.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparc64: time interpolator build fix
Andrew Morton [Sun, 3 Oct 2004 02:15:00 +0000 (19:15 -0700)]
[PATCH] sparc64: time interpolator build fix

We need io.h for readq().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] document isolcpus= boot option
Nick Piggin [Sun, 3 Oct 2004 02:14:48 +0000 (19:14 -0700)]
[PATCH] document isolcpus= boot option

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] random driver preempt robustness
Ingo Molnar [Sun, 3 Oct 2004 02:14:36 +0000 (19:14 -0700)]
[PATCH] random driver preempt robustness

A certain codepath in the random driver relied on vt_ioctl() being under
the BKL and implicitly disabling preemption.  The code wasn't buggy
upstream but it's slighly unrobust so I think we want the fix upstream too,
independently of the remove-bkl patch.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] kprobes exception notifier fix
Prasanna S. Panchamukhi [Sun, 3 Oct 2004 02:14:25 +0000 (19:14 -0700)]
[PATCH] kprobes exception notifier fix

This patch modifies the return value of kprobes exceptions notify handler.
The kprobes exception notifier returns NOTIFY_STOP on handling
notification.  This patch helps other debuggers to co-exists with the
Kprobes.  Other debuggers registered for exceptions notification must
return NOTIFY_STOP on handling the notification.

Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] use kthread_stop in therm_adt746x
Colin Leroy [Sun, 3 Oct 2004 02:14:13 +0000 (19:14 -0700)]
[PATCH] use kthread_stop in therm_adt746x

Use kthread_stop() and kthread_should_stop() instead of monitor_running and
wait_completion().

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] therm_adt746x: don't change loadavg
Colin Leroy [Sun, 3 Oct 2004 02:14:01 +0000 (19:14 -0700)]
[PATCH] therm_adt746x: don't change loadavg

Use interruptible sleep rather than uninterruptible.

Partially convert it to the kthread API so the kernel thread doesn't get
accidentally signalled.

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Sun, 3 Oct 2004 02:12:23 +0000 (03:12 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoNTFS: Fix stupid bug in fs/ntfs/attrib.c::ntfs_attr_reinit_search_ctx() where
Anton Altaparmakov [Sun, 3 Oct 2004 02:08:14 +0000 (03:08 +0100)]
NTFS: Fix stupid bug in fs/ntfs/attrib.c::ntfs_attr_reinit_search_ctx() where
      we did not clear ctx->al_entry but it was still set due to changes in
      ntfs_attr_lookup() and ntfs_external_attr_find() in particular.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
21 years agotty locking fixups: remove unused "flags" variable
Linus Torvalds [Sat, 2 Oct 2004 11:33:53 +0000 (04:33 -0700)]
tty locking fixups: remove unused "flags" variable

It became obsolete when the termios locking was changed
to use a per-tty semaphore.

21 years ago[PATCH] Fix booting on some recent G5s
Benjamin Herrenschmidt [Sat, 2 Oct 2004 10:57:48 +0000 (03:57 -0700)]
[PATCH] Fix booting on some recent G5s

Some recent G5s have a problem with PCI/HT probing.  They crash (machine
check) during the probe of some slot numbers, it seems to be related to
some functions beeing disabled by the firmware inside the K2 ASIC.

This patch limits the config space accesses to devices that are present
in the OF device-tree.  This fixes the problem and shouldn't "add" any
limitation.  If you plug a "random" PCI card with no OF driver, the
firmware will still build a node for it with the default set of
properties created from the config space.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoFix close() vs posix lock race
Linus Torvalds [Sat, 2 Oct 2004 08:54:05 +0000 (01:54 -0700)]
Fix close() vs posix lock race

A threaded app that posix-locks and closes the same file
in two threads concurrently may result in a posix lock
that was never visible to the closer, and that thus needs
cleanup on the final fput.

Handle it together with the regular flocks.

21 years ago[PATCH] Update termios to use per tty semaphore
Alan Cox [Sat, 2 Oct 2004 08:46:35 +0000 (01:46 -0700)]
[PATCH] Update termios to use per tty semaphore

This makes the agreed change of termios locking to be semaphore based
sleep locking. This is needed for USB in particular as it has to use
messaging to issue terminal mode changes.

This code passes Torvalds test grades 0, 1 and 2 (it looks ok, it
compiles and it booted). It does mean that a driver cannot take an
atomic peek at termios data during an interrupt. Nobody seems to be
doing this although some of the driver receive paths for line
disciplines will eventually want to (n_tty currently doesn't do this
locked on the receive path). Since the ldisc is given a chance to copy
any essential bits on the ->set_termios path this seems not to be a
problem.

21 years agoPartially undo Alan's recent tty locking fixes: the termios
Linus Torvalds [Sat, 2 Oct 2004 05:09:43 +0000 (22:09 -0700)]
Partially undo Alan's recent tty locking fixes: the termios
lock must not be held across the driver/ldisc downcalls.

Some drivers need to set device state (baudrate etc) and may
need to sleep.

21 years ago[PATCH] Race with iput and umount
Alexander Viro [Sat, 2 Oct 2004 03:59:55 +0000 (20:59 -0700)]
[PATCH] Race with iput and umount

Jeff Mahoney notes:

 "generic_shutdown_super() will happily call the ->put_super fs method,
  destroying data structures still in use by the iput (->delete_inode)
  in progress.

  The unlink path will call the ->unlink fs method, release the path
  (thus dropping the reference to the vfsmount, and then call iput.
  Since the vfsmount reference is dropped back to 1, a umount will
  succeed, causing the superblock to be cleaned up."

Arrgh...  Here's the trivial fix: do the final "iput()" a bit earlier in
the unlink path.

Note: all places that go to exit1: or exit: will have NULL inode, so we
are not leaking anything here and it is OK do that iput() early; indeed,
the goal of that kludge was to postpone the final iput() past the
unlocking the parent for the sake of contention if a wunch of bankers is
doing parallel unlink() on files in the same directory and normally it
would happen on dput() after vfs_unlink())

21 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Fri, 1 Oct 2004 10:26:34 +0000 (03:26 -0700)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ide] Simtec BAST (EB2410ITX) / Thorcom VR1000 driver
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 22:00:34 +0000 (00:00 +0200)]
[ide] Simtec BAST (EB2410ITX) / Thorcom VR1000 driver

Patch to provide support for the following two boards:

- Simtec BAST (EB2410ITX)
- Thorcom VR1000

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] piix: fix wrong DMA mode selected
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 21:58:49 +0000 (23:58 +0200)]
[ide] piix: fix wrong DMA mode selected

From: Carsten Haustein <chaus@cs.uni-potsdam.de>

A bug in function piix_config_drive_xfer_rate() allows a call of
hwif->ide_dma_on(drive) without prior call of piix_config_drive_for_dma().
This results in harddisk configured for UDMA (default?) whereas the highest
DMA mode supported by PIIX3 is MWORD2.

This bug is supposed to be present in any 2.6.x kernel release and any
2.4.x kernel release since 2.4.21.

bart: this should also fix the same bug for PIIXa and PIIXb

Fixes bugzilla bug #3473.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] aec62xx: remove dead DEBUG_AEC_REGS code
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 21:58:27 +0000 (23:58 +0200)]
[ide] aec62xx: remove dead DEBUG_AEC_REGS code

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] remove stale comment from ide-proc.c
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 21:57:32 +0000 (23:57 +0200)]
[ide] remove stale comment from ide-proc.c

ide-default driver was added long time ago.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] remove dead debugging code from ide-taskfile.c
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 21:56:49 +0000 (23:56 +0200)]
[ide] remove dead debugging code from ide-taskfile.c

- CONFIG_IDE_TASK_IOCTL_DEBUG cannot be defined
- function declarations are used instead of calls

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] remove dead CMD640 debugging from ide-probe.c
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 21:56:04 +0000 (23:56 +0200)]
[ide] remove dead CMD640 debugging from ide-probe.c

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] triflex: kill /proc/ide/triflex
Bartlomiej Zolnierkiewicz [Fri, 1 Oct 2004 21:54:54 +0000 (23:54 +0200)]
[ide] triflex: kill /proc/ide/triflex

Fixes OOPS on two single channel controllers.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[PATCH] mlockall() take mmap_sem a bit later
Chris Wright [Fri, 1 Oct 2004 09:34:56 +0000 (02:34 -0700)]
[PATCH] mlockall() take mmap_sem a bit later

In sys_mlockall(), flags validation and can_do_mlock() check don't
require holding mmap_sem.  Move down_write() down a bit, and adjust
appropriately.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] make can_do_mlock useful for mlock/mlockall
Chris Wright [Fri, 1 Oct 2004 09:34:43 +0000 (02:34 -0700)]
[PATCH] make can_do_mlock useful for mlock/mlockall

Move the simple can_do_mlock() check before the full rlimits based
restriction checks for mlock() and mlockall().  As it is, the check
adds nothing.  This has a side-effect of eliminating an unnecessary call
to can_do_mlock() on the munlockall() path.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mlockall() check rlimit only when MCL_CURRENT is set
Chris Wright [Fri, 1 Oct 2004 09:34:31 +0000 (02:34 -0700)]
[PATCH] mlockall() check rlimit only when MCL_CURRENT is set

Only check memlock rlimit against mm->total_vm when mlockall() flags
include MCL_CURRENT.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mlockall(MCL_FUTURE) unlocks currently locked mappings
Chris Wright [Fri, 1 Oct 2004 09:34:18 +0000 (02:34 -0700)]
[PATCH] mlockall(MCL_FUTURE) unlocks currently locked mappings

Calling mlockall(MCL_FUTURE) will erroneously unlock any currently locked
mappings.  Fix this up, and while we're at it, remove the essentially
unused error variable.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Fri, 1 Oct 2004 09:08:04 +0000 (02:08 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 1 Oct 2004 09:07:05 +0000 (02:07 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 1 Oct 2004 08:57:47 +0000 (01:57 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Fri, 1 Oct 2004 08:48:52 +0000 (01:48 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2107/1: BAST - additional serial port fixes
Ben Dooks [Fri, 1 Oct 2004 13:46:48 +0000 (14:46 +0100)]
[ARM PATCH] 2107/1: BAST - additional serial port fixes

Patch from Ben Dooks

Added code to remove the serial ports registered when
the module is unloaded.

Cleaned up ifdef'd code, and added copyright header

Signed-off-by: Ben Dooks
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 1 Oct 2004 08:46:41 +0000 (01:46 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2116/1: S3C2410 - s3c2410_gpio_cfgpin() mask bug
Ben Dooks [Fri, 1 Oct 2004 14:37:13 +0000 (15:37 +0100)]
[ARM PATCH] 2116/1: S3C2410 - s3c2410_gpio_cfgpin() mask bug

Patch from Ben Dooks

Fixed bug where wrong bits where being masked in the
configuration registers for the GPIO pins

Signed-off-by: Ben Dooks
21 years ago[ARM PATCH] 2102/1: BAST - incorrect IRQ for USB overcurrent
Ben Dooks [Fri, 1 Oct 2004 14:11:37 +0000 (15:11 +0100)]
[ARM PATCH] 2102/1: BAST - incorrect IRQ for USB overcurrent

Patch from Ben Dooks

Fix IRQ number for USB over-current on Simtec BAST

Signed-off-by: Ben Dooks
21 years ago[ARM PATCH] 2106/1: Remove the "write" assumption for Jazelle in the early_abort...
Catalin Marinas [Fri, 1 Oct 2004 13:37:59 +0000 (14:37 +0100)]
[ARM PATCH] 2106/1: Remove the "write" assumption for Jazelle in the early_abort handler

Patch from Catalin Marinas

On ARM926EJ-S, the "always assume write" for Jazelle data aborts
causes Java code exit with segmentation fault every time it tries
to access a read-only page. This patch puts some restrictions on what
can be done in the Jazelle state but it allows it to run.

Signed-off-by: Catalin Marinas
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Fri, 1 Oct 2004 08:44:33 +0000 (01:44 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PCMCIA] replace schedule_timeout() with msleep()
Russell King [Fri, 1 Oct 2004 15:52:48 +0000 (16:52 +0100)]
[PCMCIA] replace schedule_timeout() with msleep()

From: <janitor@sternwelten.at>

Remove unnecessary cs_to_timeout() macro.  Use msleep() instead of
schedule_timeout() to guarantee the task delays for the desired
time.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
21 years agoMerge bk://bkbits.246tNt.com/linux-2.5-mpc52xx-pending
Tom Rini [Fri, 1 Oct 2004 08:27:36 +0000 (01:27 -0700)]
Merge bk://bkbits.246tNt.com/linux-2.5-mpc52xx-pending
into kernel.crashing.org:/home/trini/work/kernel/pristine/for-linus-ppc

21 years ago[NETFILTER]: Fix NAT helper handling of TCP window tracking info.
Harald Welte [Fri, 1 Oct 2004 08:11:57 +0000 (01:11 -0700)]
[NETFILTER]: Fix NAT helper handling of TCP window tracking info.

Fix NAT helper code to update TCP window tracking information
if it resizes payload (and thus alrers sequence numbers).

This patchlet was somehow lost during 2.4.x->2.6.x port of TCP
window tracking :(

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>