]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.9-rc2 v2.6.9-rc2
Linus Torvalds [Sun, 12 Sep 2004 15:08:55 +0000 (08:08 -0700)]
Linux 2.6.9-rc2

20 years ago[PATCH] fbdev/radeonfb: Remove bugus radeonfb_read/write
Benjamin Herrenschmidt [Sun, 12 Sep 2004 15:08:19 +0000 (08:08 -0700)]
[PATCH] fbdev/radeonfb: Remove bugus radeonfb_read/write

This patch kills the bogus radeonfb_read/write routines. In order to do so,
it adds a new member to fb_info, along with screen_base, which is screen_size,
indicating the mapped area. The default fb_read/write will now use that instead
of fix->smem_len if it is non-0, and radeonfb now sets it to the mapped size
of the framebuffer.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64:Fix missing register in altivec context switch
Benjamin Herrenschmidt [Sun, 12 Sep 2004 15:08:08 +0000 (08:08 -0700)]
[PATCH] ppc64:Fix missing register in altivec context switch

This is a resend of a patch sent in July and that got lost somewhat,
the "VSCR" register wasn't restored properly from the context on
load_up_altivec (typo), please apply the fix:

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sun, 12 Sep 2004 12:36:16 +0000 (05:36 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sun, 12 Sep 2004 18:42:11 +0000 (11:42 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

20 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Sun, 12 Sep 2004 16:21:10 +0000 (09:21 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

20 years ago[TCP]: Fix fack_count handling in tcp_sacktag_write_queue().
David S. Miller [Sun, 12 Sep 2004 10:31:20 +0000 (03:31 -0700)]
[TCP]: Fix fack_count handling in tcp_sacktag_write_queue().

20 years ago[SK98LIN]: Kill dangling netdev->last_stats reference.
David S. Miller [Sun, 12 Sep 2004 10:28:24 +0000 (03:28 -0700)]
[SK98LIN]: Kill dangling netdev->last_stats reference.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Fix notification on address change via rtnetlink.
Thomas Graf [Sun, 12 Sep 2004 10:03:26 +0000 (03:03 -0700)]
[NET]: Fix notification on address change via rtnetlink.

Only send NETDEV_CHANGEADDR notifies for address and broadcast changes.
Notify is also sent out if only one of the 2 changes is successful.

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>
20 years ago[NETFILTER]: Fix conntrack seq_file handling.
Rusty Russell [Sun, 12 Sep 2004 10:00:47 +0000 (03:00 -0700)]
[NETFILTER]: Fix conntrack seq_file handling.

Am travelling, but this passed simple tests here.  If this isn't going
in, the current seqfile stuff should be ripped out; it's a mess.

/proc/net/ip_conntrack was changed over to seq_file.  However,
seq_file isn't a great fit (a linked list which is changing is not a
good candidate for seq file), and the conversion was done badly.

1) Don't do allocation: simply hand the pointer head of the correct chain.
2) Actually output the original tuple.
3) Lock only when actually traversing hash chain.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Improve netdev->hard_start_xmit() documentation.
Andi Kleen [Sun, 12 Sep 2004 09:55:52 +0000 (02:55 -0700)]
[NET]: Improve netdev->hard_start_xmit() documentation.

With improvements by Francois Romieu and David
S. Miller.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Use NETDEV_TX_* macros instead of magic numbers.
Jamal Hadi Salim [Sun, 12 Sep 2004 09:53:16 +0000 (02:53 -0700)]
[NET]: Use NETDEV_TX_* macros instead of magic numbers.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge conflicts with Linus's sparse ioremap() work.
David S. Miller [Sun, 12 Sep 2004 09:37:10 +0000 (02:37 -0700)]
Merge conflicts with Linus's sparse ioremap() work.

20 years agoMerge conflicts with Linus's ioremap sparse changes.
David S. Miller [Sun, 12 Sep 2004 09:33:37 +0000 (02:33 -0700)]
Merge conflicts with Linus's ioremap sparse changes.

20 years ago[TG3]: Need tx_lock in tg3_set_rx_mode().
David S. Miller [Sun, 12 Sep 2004 09:27:49 +0000 (02:27 -0700)]
[TG3]: Need tx_lock in tg3_set_rx_mode().

Noticed by Eric Lemoine.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPVS]: Do not use skb_checksum_help(), create and use nf_reset_debug()
Julian Anastasov [Sun, 12 Sep 2004 09:26:08 +0000 (02:26 -0700)]
[IPVS]: Do not use skb_checksum_help(), create and use nf_reset_debug()

Appended is a 2nd version that uses nf_reset_debug.

- do not use skb_checksum_help in input path as ipvs can handle
incoming CHECKSUM_HW packets

- do not use skb_checksum_help in forwarding path

- claim that checksum is valid (CHECKSUM_NONE) when entering output
path for out->in packets

- do not reset/destroy the nfct in IP_VS_XMIT, the intention is to
reset the debugging field just to avoid log floods from nf_debug_ip_*
functions, it is known that the ipvs packets traverse other
hooks, eg. LOCAL_IN->LOCAL_OUT. Use nf_reset_debug instead of nf_reset.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Kill netdev->last_stats
David S. Miller [Sun, 12 Sep 2004 09:24:10 +0000 (02:24 -0700)]
[NET]: Kill netdev->last_stats

Old debugging code we no longer need.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Fix {lost,left}_out accounting in tcp_fragment()
David S. Miller [Sun, 12 Sep 2004 09:17:59 +0000 (02:17 -0700)]
[TCP]: Fix {lost,left}_out accounting in tcp_fragment()

Noticed by Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV6]: Fix oops in rt6_device_match()
Hideaki Yoshifuji [Sun, 12 Sep 2004 09:14:48 +0000 (02:14 -0700)]
[IPV6]: Fix oops in rt6_device_match()

This fixes panic in rt6_device_match().

Well, rt->rt6i_idev is always set if it is dynamically allocated.
However, when we hit ip6_null_entry here, its rt6i_idev is NULL.
This patch is minimum fix to avoid the oops for now.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoppc: make IDE memory-mapped PCI routines match new reality
Linus Torvalds [Sun, 12 Sep 2004 08:31:47 +0000 (01:31 -0700)]
ppc: make IDE memory-mapped PCI routines match new reality

20 years ago[PATCH] ide: sis5513 fix for SiS962 chipset
Bartlomiej Zolnierkiewicz [Sun, 12 Sep 2004 06:56:20 +0000 (23:56 -0700)]
[PATCH] ide: sis5513 fix for SiS962 chipset

From: Thomas Gleixner <tglx@linutronix.de>

1. If the fake 5513 id bit is not set by the BIOS we must have the 5518
id in the device table.

2. If the register remapping is not set by the BIOS then the enable bit
check in ide_pci_setup_ports will fail. It's safe to switch to the
remapping mode here. Keeping the not remapped mode would need quite big
changes AFAICS.

Forward ported to 2.6 by me.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoFix up and annotate MTD map usage of PCI memory access
Linus Torvalds [Sun, 12 Sep 2004 05:17:26 +0000 (22:17 -0700)]
Fix up and annotate MTD map usage of PCI memory access

20 years agomemcpy_toio() shouldn't complain about a const source.
Linus Torvalds [Sun, 12 Sep 2004 05:16:08 +0000 (22:16 -0700)]
memcpy_toio() shouldn't complain about a const source.

20 years agoAnnotate pc300 wan driver PCI memory accesses.
Linus Torvalds [Sun, 12 Sep 2004 04:16:38 +0000 (21:16 -0700)]
Annotate pc300 wan driver PCI memory accesses.

This driver caused a _lot_ of warnings due to tons
of explicit casts to "uclong". Making all the types
sane not only removed the warnings, but got rid of
a lot of silly casting, since the types are now much
more natural to what the driver wanted to do in the
first place.

20 years agoannotate HPET driver memory-mapped PCI usage
Linus Torvalds [Sun, 12 Sep 2004 03:47:59 +0000 (20:47 -0700)]
annotate HPET driver memory-mapped PCI usage

20 years agoStricter PCI IO space type checking uncovered a bug in sx8 driver.
Linus Torvalds [Sun, 12 Sep 2004 03:30:42 +0000 (20:30 -0700)]
Stricter PCI IO space type checking uncovered a bug in sx8 driver.

Forgot to add in the mmio base..

20 years agocifs: fix missing semicolon.
Linus Torvalds [Sat, 11 Sep 2004 13:19:43 +0000 (06:19 -0700)]
cifs: fix missing semicolon.

It disappeared somewhere in Al's cleanup patch..

20 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Sat, 11 Sep 2004 11:25:41 +0000 (04:25 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

20 years ago[PATCH] CIFSSMBQueryReparseLinkInfo() endianness fix
Alexander Viro [Sat, 11 Sep 2004 10:16:16 +0000 (03:16 -0700)]
[PATCH] CIFSSMBQueryReparseLinkInfo() endianness fix

le16_to_cpu() on 32bit field.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] CIFSSMBNegotiate endianness fix
Alexander Viro [Sat, 11 Sep 2004 10:16:04 +0000 (03:16 -0700)]
[PATCH] CIFSSMBNegotiate endianness fix

Use of 16bit little-endian in comparisons and arithmetics without
conversion.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Sat, 11 Sep 2004 10:12:46 +0000 (03:12 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agokbuild/ppc: Fix build of zlib in arch/ppc/boot/lib
Sam Ravnborg [Sun, 12 Sep 2004 01:25:45 +0000 (03:25 +0200)]
kbuild/ppc: Fix build of zlib in arch/ppc/boot/lib

$(addprefix ...) needs a directory relative to current directory, because
kbuild prefixes the filename with '$(obj)/'

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
20 years ago[PATCH] more endianness breakage (CIFSSMBLock(), again)
Alexander Viro [Sat, 11 Sep 2004 03:52:56 +0000 (20:52 -0700)]
[PATCH] more endianness breakage (CIFSSMBLock(), again)

 a) upper 32 bits of cpu_to_le64(x) are *not* cpu_to_le32(x) of
    upper 32 bits.
 b) ->ByteCount cleaned up.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] CIFSSMBLock() endianness fix
Alexander Viro [Sat, 11 Sep 2004 03:10:43 +0000 (20:10 -0700)]
[PATCH] CIFSSMBLock() endianness fix

cpu_to_le32(...) assigned to 16bit fields.

20 years ago[PATCH] ppc: switch boot/lib/Makefile to $(addprefix ...) for zlib_inflate
Tom Rini [Sat, 11 Sep 2004 02:36:33 +0000 (19:36 -0700)]
[PATCH] ppc: switch boot/lib/Makefile to $(addprefix ...) for zlib_inflate

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoFix off-by-one bug in page cache reading.
Linus Torvalds [Sat, 11 Sep 2004 01:50:36 +0000 (18:50 -0700)]
Fix off-by-one bug in page cache reading.

Just test the end case inside the loop, rather than trying to
be clever and getting it wrong.

20 years ago[PATCH] Fix PTRACE_CONT after single-step into signal delivery
Roland McGrath [Fri, 10 Sep 2004 16:20:19 +0000 (09:20 -0700)]
[PATCH] Fix PTRACE_CONT after single-step into signal delivery

The previous single-step patch ("make single-step into signal delivery
stop in handler") took things a little too far.

It left TF set in the sigcontext on the stack, so a PTRACE_CONT after
stopping at the handler entry will step instead of resume.  This
additional patch fixes it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fix task_struct leak in posix-timers
Roland McGrath [Fri, 10 Sep 2004 16:20:07 +0000 (09:20 -0700)]
[PATCH] fix task_struct leak in posix-timers

timer_create leaks task_structs.  I probably introduced this bug when I did
the cleanup making posix-timers properly per-process.  This patch fixes it.

There is also a fixup for a random indentation snafu at the end.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] NFS: add an fsync() stub for directories as per 2.4.x.
Trond Myklebust [Fri, 10 Sep 2004 16:19:55 +0000 (09:19 -0700)]
[PATCH] NFS: add an fsync() stub for directories as per 2.4.x.

    Helps to keep the 'sendmail' doctor away.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Fri, 10 Sep 2004 16:16:30 +0000 (09:16 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 10 Sep 2004 16:15:30 +0000 (09:15 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
Russell King [Fri, 10 Sep 2004 23:47:36 +0000 (00:47 +0100)]
Merge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 10 Sep 2004 16:10:49 +0000 (09:10 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agolibata: initial PCI memory annotations
Linus Torvalds [Fri, 10 Sep 2004 15:53:11 +0000 (08:53 -0700)]
libata: initial PCI memory annotations

20 years agoolympic: tokenring driver PCI memory annotation
Linus Torvalds [Fri, 10 Sep 2004 15:52:44 +0000 (08:52 -0700)]
olympic: tokenring driver PCI memory annotation

20 years agoohci1394: PCI memory annotation
Linus Torvalds [Fri, 10 Sep 2004 15:52:14 +0000 (08:52 -0700)]
ohci1394: PCI memory annotation

20 years agosungem: PCI memory annotations
Linus Torvalds [Fri, 10 Sep 2004 15:51:40 +0000 (08:51 -0700)]
sungem: PCI memory annotations

20 years agoide: avoid PCI iomem warning in pmac.c
Linus Torvalds [Fri, 10 Sep 2004 15:51:02 +0000 (08:51 -0700)]
ide: avoid PCI iomem warning in pmac.c

20 years agoppc64: PCI memory annotation infrastructure
Linus Torvalds [Fri, 10 Sep 2004 15:50:19 +0000 (08:50 -0700)]
ppc64: PCI memory annotation infrastructure

20 years ago[ARM PATCH] 2088/2: set_irq_type takes the IRQ number not the GPIO
Ian Campbell [Fri, 10 Sep 2004 13:44:17 +0000 (14:44 +0100)]
[ARM PATCH] 2088/2:  set_irq_type takes the IRQ number not the GPIO

Patch from Ian Campbell

Please ignore previous patch: set_irq_type takes the IRQ number and
not the GPIO number so using any variant on IRQ_TO_GPIO* is incorrect
anyway.

Signed-of-by: Ian Campbell <icampbell@arcom.com>
20 years ago[ARM PATCH] 2087/1: fix issues with PXA irq code
Nicolas Pitre [Fri, 10 Sep 2004 13:39:55 +0000 (14:39 +0100)]
[ARM PATCH] 2087/1: fix issues with PXA irq code

Patch from Nicolas Pitre

- Don't chain assignment to volatile registers.
  Doing otherwise generates extra needless code to reload the value
  for the next assignment.

- Don't touch PXA27x registers on a PXA25x build.
  (spotted by Ian Campbell)

Signed-off-by: Nicolas Pitre
20 years ago[ARM PATCH] 2079/1: make the IOP3xx Implementation Options menu conditional on
Nicolas Pitre [Fri, 10 Sep 2004 13:28:36 +0000 (14:28 +0100)]
[ARM PATCH] 2079/1: make the IOP3xx Implementation Options menu conditional on
 CONFIG_ARCH_IOP3XX

Patch from Nicolas Pitre

Signed-off-by: Nicolas Pitre
20 years agomisc: pci memory access annotations
Linus Torvalds [Fri, 10 Sep 2004 12:09:58 +0000 (05:09 -0700)]
misc: pci memory access annotations

Basic serial ports, acpi and intel sound.

Can you guess what my laptop has in it?

20 years agofbcon: initial PCI memory access annotations
Linus Torvalds [Fri, 10 Sep 2004 12:08:13 +0000 (05:08 -0700)]
fbcon: initial PCI memory access annotations

20 years agotg3: annotate PCI memory accesses
Linus Torvalds [Fri, 10 Sep 2004 12:07:28 +0000 (05:07 -0700)]
tg3: annotate PCI memory accesses

20 years agoide: initial PCI memory access annotations
Linus Torvalds [Fri, 10 Sep 2004 12:06:32 +0000 (05:06 -0700)]
ide: initial PCI memory access annotations

20 years agodrm: annotate basic PCI memory access functions
Linus Torvalds [Fri, 10 Sep 2004 12:05:31 +0000 (05:05 -0700)]
drm: annotate basic PCI memory access functions

20 years agoagp: annotate intel agp PCI memory accesses
Linus Torvalds [Fri, 10 Sep 2004 12:04:40 +0000 (05:04 -0700)]
agp: annotate intel agp PCI memory accesses

20 years agoacpi: annotate PCI memory accesses
Linus Torvalds [Fri, 10 Sep 2004 12:03:41 +0000 (05:03 -0700)]
acpi: annotate PCI memory accesses

20 years agoFix up some of the basic x86 offenders on __iomem usage.
Linus Torvalds [Fri, 10 Sep 2004 12:02:55 +0000 (05:02 -0700)]
Fix up some of the basic x86 offenders on __iomem usage.

20 years agoAdd sparse "__iomem" infrastructure to check PCI address usage
Linus Torvalds [Fri, 10 Sep 2004 12:01:36 +0000 (05:01 -0700)]
Add sparse "__iomem" infrastructure to check PCI address usage

There's tons of mis-use of PCI memory-mapped IO that is used
as if it was regular memory. That fails disastrously on a number
of architectures, and it doesn't help that it just happens to
work on regular x86 boxes.

This makes makes us do much stricter type-checking. Some of it
visible to the regular compiler, but the bulk of it is for sparse.

20 years ago[SPARC64]: Kill insn scheduling comments from etrap.S
David S. Miller [Fri, 10 Sep 2004 11:04:32 +0000 (04:04 -0700)]
[SPARC64]: Kill insn scheduling comments from etrap.S

They just make the columns super wide and the
code harder to read and edit.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC64]: Use time interpolators.
David S. Miller [Fri, 10 Sep 2004 10:51:36 +0000 (03:51 -0700)]
[SPARC64]: Use time interpolators.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Device name changing via rtnetlink
Thomas Graf [Fri, 10 Sep 2004 08:48:29 +0000 (01:48 -0700)]
[NET]: Device name changing via rtnetlink

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[BRIDGE]: The vlan MII ioctl pass through was passing the wrong device.
Stephen Hemminger [Fri, 10 Sep 2004 08:43:19 +0000 (01:43 -0700)]
[BRIDGE]: The vlan MII ioctl pass through was passing the wrong device.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Fix packet counting during retransmission.
David S. Miller [Fri, 10 Sep 2004 08:35:59 +0000 (01:35 -0700)]
[TCP]: Fix packet counting during retransmission.

We run into a potential problem if we are doing
TSO and we reduce the congestion window.  We might
create a case where the TSO packet is what we need
to resend but the congestion window is not large
enough to allow it through.

The fix is very simple, since tcp_retransmit_skb()
is going to chop the size of the packet down to size
of the normal non-TSO MSS, we can pretend at the top
level that each SKB is composed of only one real MSS
worth of data.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Fix packet counting when fragmenting already sent packets.
David S. Miller [Fri, 10 Sep 2004 08:21:43 +0000 (01:21 -0700)]
[TCP]: Fix packet counting when fragmenting already sent packets.

Calls to tcp_fragment() change the tso_factor of
an SKB, so we need to deal with that.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Fix packet counting in tcp_fragment().
David S. Miller [Fri, 10 Sep 2004 08:10:20 +0000 (01:10 -0700)]
[TCP]: Fix packet counting in tcp_fragment().

Do not reference the tso_factor of SKB buff until
it is initialized.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NETFILTER]: Fix build with SYSCTL=n
Hideaki Yoshifuji [Fri, 10 Sep 2004 07:52:37 +0000 (00:52 -0700)]
[NETFILTER]: Fix build with SYSCTL=n

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV6]: Deprecate all-on-link assumption
Hideaki Yoshifuji [Fri, 10 Sep 2004 07:50:26 +0000 (00:50 -0700)]
[IPV6]: Deprecate all-on-link assumption

If we don't have IPv6 default routes, we assume all ipv6 destinations
are on-link as specified in RFC2461. It, however, is considered harmful now;
it is problematic with IPv6-capable nodes that do not have off-link
IPv6 connectivity (eg no default routers) and such nodes will take
a few seconds until they fall back to use IPv4.

See <draft-ietf-v6ops-onlinkassumption-02.txt> for details.

From: KUNITAKE Koichi <kunitake@anchor.jp>
Signed-off-by: KUNITAKE Koichi <kunitake@anchor.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPCOMP]: Use per-cpu buffers for compression/decompression.
Herbert Xu [Fri, 10 Sep 2004 07:37:08 +0000 (00:37 -0700)]
[IPCOMP]: Use per-cpu buffers for compression/decompression.

Here is a really ugly patch to get IPCOMP to use per-cpu buffers.  But
I'm afraid it really is necessary.  At 300K per SA IPCOMP isn't very
affordable at all.

With per-cpu buffers this goes down to 300K per CPU.

I've also turned the kmalloc'ed scratch space into a vmalloc'ed one
since people may be loading the ipcomp module after the system has
been running for a while.  On an i386 machine with 64M of RAM or less
this can often cause a 64K kmalloc to fail.

The crypto deflate buffer space are vmalloc'ed already as well.

Part of the ugliness comes from the lazy allocation.  However we need
the lazy initialisation since new IPCOMP algorithms may be introduced
in future.  That means we can't allocate space for every single IPCOMP
algorithm at module-load time.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPSEC]: Find larval SAs by sequence number
Herbert Xu [Fri, 10 Sep 2004 07:36:11 +0000 (00:36 -0700)]
[IPSEC]: Find larval SAs by sequence number

When larval states are generated along with ACQUIRE messages, we should
use the sequence to find the corresponding larval state when creating
states with ADD_SA or ALLOC_SPI.

If we don't do that, then it may take down an unrelated larval state
with the same parameters (think different TCP sessions).  This not only
leaves behind a larval state that shouldn't be there, it may also cause
another ACQUIRE message to be sent unnecessarily.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Fix pkt_act.h warning with gcc-2.95
Andrew Morton [Fri, 10 Sep 2004 07:35:19 +0000 (00:35 -0700)]
[NET]: Fix pkt_act.h warning with gcc-2.95

include/net/pkt_act.h: In function 'tcf_hash_search':
include/net/pkt_act.h:218: warning: return makes integer from pointer without a cast

gcc-2.95 is stupid.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SUNGEM]: Use dev_kfree_skb_irq() for TX.
David S. Miller [Fri, 10 Sep 2004 07:34:03 +0000 (00:34 -0700)]
[SUNGEM]: Use dev_kfree_skb_irq() for TX.

gem_tx() is always invoked with IRQs disabled.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge plexity.net:/home/dsaxena/src/linux-2.6-ixp2000
Deepak Saxena [Fri, 10 Sep 2004 07:23:28 +0000 (00:23 -0700)]
Merge plexity.net:/home/dsaxena/src/linux-2.6-ixp2000
into plexity.net:/home/dsaxena/src/linux-2.6-for-rmk

20 years ago[ARM] More minor IXP2000 cleanups
Deepak Saxena [Fri, 10 Sep 2004 07:20:43 +0000 (00:20 -0700)]
[ARM] More minor IXP2000 cleanups

- Cleanup arch_idle()

- Remove unused external_fault variable in mach-ixp2000/pci.c
  leftover from older kernel version

- Fix  __setup("ixdp2x01_clock", ixdp2x01_clock_setup) to be
  "ixdp2x01_clock="

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
20 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Fri, 10 Sep 2004 07:05:52 +0000 (00:05 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years ago[PATCH] ide: unify taskfile single/multiple PIO code
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:03:56 +0000 (21:03 -0700)]
[PATCH] ide: unify taskfile single/multiple PIO code

Make the actual use of hwif->data_phase.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: add ide_hwif_t->data_phase
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:03:44 +0000 (21:03 -0700)]
[PATCH] ide: add ide_hwif_t->data_phase

Use it for taskfile requests (only PIO/DMA for now) for storing
ide_task_t->data_phase of the active command.

Also add some missing task->data_phase assignments.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: remove unused ide_[dma,pio]_ops_t
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:03:32 +0000 (21:03 -0700)]
[PATCH] ide: remove unused ide_[dma,pio]_ops_t

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: fix LBA48 support for ALi chipsets (rev < 0xC5)
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:03:20 +0000 (21:03 -0700)]
[PATCH] ide: fix LBA48 support for ALi chipsets (rev < 0xC5)

Affected chipsets support LBA48 but not LBA48 DMA.
Just use DMA for area < 137GB and revert to PIO for > 137GB one.
Also disallow transfers > 256 sectors for better performance.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: remove kmalloc() from ide_unregister()
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:03:08 +0000 (21:03 -0700)]
[PATCH] ide: remove kmalloc() from ide_unregister()

tmp_hwif should not be kmalloc()ed in ide_unregister().
If the kmalloc fails, there is no possible error recovery.
This patch makes tmp_hwif static, protected by ide_cfg_sem.

Signed-off-by: Jorn Engel <joern@wh.fh-wedel.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: remove never changing FANCY_STATUS_DUMPS define
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:02:56 +0000 (21:02 -0700)]
[PATCH] ide: remove never changing FANCY_STATUS_DUMPS define

From: Alan Cox <alan@redhat.com>

Extracted from 2.6.8.1-ac1 by me.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: update comments in ide.c and ide-probe.c
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:02:44 +0000 (21:02 -0700)]
[PATCH] ide: update comments in ide.c and ide-probe.c

From: Alan Cox <alan@redhat.com>

Extracted from 2.6.8.1-ac1, minor corrections by me.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ide: fix bogus write cache comment
Bartlomiej Zolnierkiewicz [Fri, 10 Sep 2004 04:02:32 +0000 (21:02 -0700)]
[PATCH] ide: fix bogus write cache comment

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge plexity.net:/home/dsaxena/src/linux-2.6-ixp2000
Deepak Saxena [Fri, 10 Sep 2004 03:25:25 +0000 (20:25 -0700)]
Merge plexity.net:/home/dsaxena/src/linux-2.6-ixp2000
into plexity.net:/home/dsaxena/src/linux-2.6-for-rmk

20 years ago[ARM] Some minor ixdp2x01 fixes
Deepak Saxena [Fri, 10 Sep 2004 03:23:10 +0000 (20:23 -0700)]
[ARM] Some minor ixdp2x01 fixes

Convert on-board UARTs on IXDP2x01s to use 32-bit wide access by
marking them as UPIO_MEM32.

Fix ixdp2x01_pci_setup() to return a value

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
20 years ago[PATCH] Fix x86_64 SPINLOCK_MAGIC debugging
Zwane Mwaikambo [Fri, 10 Sep 2004 02:37:26 +0000 (19:37 -0700)]
[PATCH] Fix x86_64 SPINLOCK_MAGIC debugging

Using a label isn't sufficent anymore for determining the location of the
failed lock. Use __builtin_return_address instead.

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix i386 SPINLOCK_MAGIC debugging
Zwane Mwaikambo [Fri, 10 Sep 2004 02:37:14 +0000 (19:37 -0700)]
[PATCH] Fix i386 SPINLOCK_MAGIC debugging

Using a label isn't sufficent anymore for determining the location of the
failed lock. Use __builtin_return_address instead.

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix hpet time interpolator setup for CONFIG_TIME_INTERPOLATION
Christoph Lameter [Fri, 10 Sep 2004 02:00:26 +0000 (19:00 -0700)]
[PATCH] Fix hpet time interpolator setup for CONFIG_TIME_INTERPOLATION

The time interpolator scalability enhancement patch broke the time
interpolator integration for hpet on IA64.  Here is the fix.

20 years ago[PATCH] ppc: fix sungem NAPI
Benjamin Herrenschmidt [Fri, 10 Sep 2004 01:22:02 +0000 (18:22 -0700)]
[PATCH] ppc: fix sungem NAPI

The recent sungem NAPI change introduced a bug: dev_kfree_skb() is
called within a softirq context, thus triggers all sort of WARN_ON's
later on down the stack.

This patch changes it to dev_kfree_skb_any().

Acked by David Miller.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Fix boot with ppc970fx CPU
Benjamin Herrenschmidt [Fri, 10 Sep 2004 01:21:50 +0000 (18:21 -0700)]
[PATCH] ppc32: Fix boot with ppc970fx CPU

This patch fixes boot on machines with a 970FX CPU, for PPC 32
bits kernels, please apply.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc/ppc64: fix offb
Benjamin Herrenschmidt [Fri, 10 Sep 2004 01:21:38 +0000 (18:21 -0700)]
[PATCH] ppc/ppc64: fix offb

The recent fbdev changes broke something quite fundamental on ppc, which
is the way offb works. It's a "fallback" driver that is to be used when
no other driver picked up the video, or when "forced" via the video=ofonly
command line option.

The recent changes completely broke that (which is a pretty important
behaviour on ppc since we still have some models regulary with video
cards that don't work properly with the kernel drivers, like some nVidias
or some older stuffs).

This patch moves offb to the end of the Makefile, so at least the behaviour
of taking over as a "fallback" is restored (the current kernel will have
offb take control of the framebuffer before any fbdev has a chance to do
it, which breaks everything).

Apparently, the entire support for "video=ofonly" was removed though,
that NEEDS to be restored in some way, though i'm not yet sure what is
the best path to that yet, I have to look more deeply at the new code.

20 years ago[PATCH] Move __preempt_*lock into kernel_spinlock, clean up.
Anton Blanchard [Fri, 10 Sep 2004 00:13:40 +0000 (17:13 -0700)]
[PATCH] Move __preempt_*lock into kernel_spinlock, clean up.

 - create in_lock_functions() to match in_sched_functions(). Export it
   for use in oprofile.
 - use char __lock_text_start[] instead of long __lock_text_start when
   declaring linker symbols. Rusty fixed a number of these a while ago
   based on advice from rth.
 - Move __preempt_*_lock into kernel/spinlock.c and make it inline. This
   means locks are only one deep.
 - Make in_sched_functions() check in_lock_functions()

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[ARM] Make VIPT alias copypage functions override work.
Russell King [Thu, 9 Sep 2004 17:56:46 +0000 (18:56 +0100)]
[ARM] Make VIPT alias copypage functions override work.

20 years agoFix up UDF merge error
Linus Torvalds [Thu, 9 Sep 2004 05:04:41 +0000 (22:04 -0700)]
Fix up UDF merge error

Andries made a declaration static, and this clashed with Al who
changed it for byteorder annotation. Fix it all up.

20 years ago[PATCH] udf endianness annotations
Alexander Viro [Thu, 9 Sep 2004 04:49:50 +0000 (21:49 -0700)]
[PATCH] udf endianness annotations

That one was slightly messier than ext2 - several data structures had
been used both in little-endian (on-disk) and host-endian (in-core)
situations.  They had to be split, the rest was trivial annotations.

Gets UDF sparse-clean with -Wbitwise.  Note that here we just annotate -
bug fixes from the original version of that patch had already been
merged.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] affs endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:38 +0000 (20:35 -0700)]
[PATCH] affs endianness annotations

AFFS partially annotated - some fields of on-disk structures are never
used and while I'm reasonably sure that they ought to be big-endian, I'd
rather leave them alone for now; annotating them won't change the amount
of noise since nothing in the kernel ever accesses them.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] adfs endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:26 +0000 (20:35 -0700)]
[PATCH] adfs endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ext2 endianness annotations
Alexander Viro [Thu, 9 Sep 2004 03:35:13 +0000 (20:35 -0700)]
[PATCH] ext2 endianness annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>