]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.12-rc1 v2.6.12-rc1
Linus Torvalds [Thu, 17 Mar 2005 08:52:58 +0000 (00:52 -0800)]
Linux 2.6.12-rc1

20 years agoMerge bk://kernel.bkbits.net/gregkh/linux/merge-2.6
Linus Torvalds [Thu, 17 Mar 2005 08:42:48 +0000 (00:42 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/merge-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] i2c eeprom oops fix
Jean Delvare [Thu, 17 Mar 2005 08:24:01 +0000 (00:24 -0800)]
[PATCH] i2c eeprom oops fix

Fix recent oopses with i2c nvram access.  If count is less than in_row1,
bad things will happen.

Cc: "Antonino A. Daplas" <adaplas@hotpop.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] parport_pc: partially revert netmos patch
steven@brudenell.name [Thu, 17 Mar 2005 05:46:30 +0000 (21:46 -0800)]
[PATCH] parport_pc: partially revert netmos patch

There's a conflict between parport_pc and parport_serial.  parport_pc is
claiming the 9735 and 9835 devices, but parport_pc wants to handle them.  So
remove support for those devices from parport_pc.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] revert vmalloc-use-list-of-pages-instead-of-array-in-vm_struct
Andrew Morton [Thu, 17 Mar 2005 05:46:13 +0000 (21:46 -0800)]
[PATCH] revert vmalloc-use-list-of-pages-instead-of-array-in-vm_struct

XFS will under some circumstances use vmap() to map pagecache pages.  These
are on the LRU.  So the recent patch to use page->lru in the vmalloc() code
corrupts these pages's ->lru pointers.  Revert.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] compile fix for ia64 UP
Jes Sorensen [Thu, 17 Mar 2005 05:45:56 +0000 (21:45 -0800)]
[PATCH] compile fix for ia64 UP

Minor compile fix from Peter Chubb for ia64 UP boxes after my /dev/mem
patch was applied.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Jes Sorensen <jes@wildopensource.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sh build fix
Paul Mundt [Thu, 17 Mar 2005 05:45:38 +0000 (21:45 -0800)]
[PATCH] sh build fix

sh and sh64 need xlate_dev_mem_ptr/xlate_dev_kmem_ptr definitions too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PPC64 Implement non-executable stacks
Paul Mackerras [Thu, 17 Mar 2005 05:45:21 +0000 (21:45 -0800)]
[PATCH] PPC64 Implement non-executable stacks

This patch, by Jake Moilanen with some further hacking from me, adds a
real execute permission bit to the linux PTEs on PPC64, and connects
that into the kernel infrastructure for implementing non-executable
stacks and heaps.  This means that on any PPC64 cpu since the POWER4
(i.e. POWER4, PPC970, PPC970FX, POWER4+, POWER5) you will get a
segfault if you try to execute instructions from a region that doesn't
have PROT_EXEC permission.  The patch also marks the pages of the
linear mapping that aren't part of the kernel text as non-executable.

Andrew and Linus, could you try this on your G5s?  I have tried it
here on a Debian system and a SLES9 system and everything runs fine,
but I haven't been able to try it on YDL, FC or RHEL4.

With this patch we default to executable stack and read-implies-exec
behaviour when there is no PT_GNU_STACK program header entry, or when
there is one and it indicates the stack is executable.  For 32-bit
processes, the heap is always executable, because the PLT contains
instructions and it ends up in the bss segment.

Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoumount: avoid racy block-size set
Linus Torvalds [Thu, 17 Mar 2005 04:07:27 +0000 (20:07 -0800)]
umount: avoid racy block-size set

Setting the block size back to the original blocksize at umount time
is unnecessary, and can cause buffer errors and infinite loops in
__getblk_slow, and possibly other problems.

Just getting bdev_lock instead causes other issues, namely AB-BA deadlocks
with /proc/meminfo etc. Just drop it, and replace with a "sync_blockdev()"
to cause a flush (which was a side effect of changing the blocksize before).

Debugging and testing by Jeff Mahoney <jeffm@suse.com>

20 years agoisofs: more "corrupted iso image" error cases
Linus Torvalds [Thu, 17 Mar 2005 03:30:25 +0000 (19:30 -0800)]
isofs: more "corrupted iso image" error cases

Thanks to Michal Zalewski for testing.

20 years agoMerge intel.com:/data/home/aegl/BK/work/17
Tony Luck [Thu, 17 Mar 2005 02:09:06 +0000 (18:09 -0800)]
Merge intel.com:/data/home/aegl/BK/work/17
into intel.com:/data/home/aegl/BK/linux-ia64-release-2.6.12

20 years agoMerge
Linus Torvalds [Thu, 17 Mar 2005 00:35:45 +0000 (16:35 -0800)]
Merge

20 years agomerge 2.6.11.4 into mainline.
Greg Kroah-Hartman [Wed, 16 Mar 2005 13:55:47 +0000 (05:55 -0800)]
merge 2.6.11.4 into mainline.

20 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Wed, 16 Mar 2005 10:18:10 +0000 (02:18 -0800)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 16 Mar 2005 10:16:52 +0000 (02:16 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoisofs: Handle corupted rock-ridge info slightly better.
Linus Torvalds [Wed, 16 Mar 2005 08:13:02 +0000 (00:13 -0800)]
isofs: Handle corupted rock-ridge info slightly better.

Keyword here being 'slightly'. The code is a mess.

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 16 Mar 2005 07:53:27 +0000 (23:53 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] tasklist left locked
Hugh Dickins [Wed, 16 Mar 2005 07:05:28 +0000 (23:05 -0800)]
[PATCH] tasklist left locked

On 4-way SMP, about one reboot in twenty hangs while killing processes:
exit needs exclusive tasklist_lock, but something still holds read_lock.
do_signal_stop race case misses unlock, and fixing it fixes the symptom.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[IPV6]: Make a function static in ndisc.c
Adrian Bunk [Wed, 16 Mar 2005 06:52:41 +0000 (22:52 -0800)]
[IPV6]: Make a function static in ndisc.c

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKTGEN]: Fix maintainence of next_tx_{us,ns}.
Robert Olsson [Wed, 16 Mar 2005 06:50:22 +0000 (22:50 -0800)]
[PKTGEN]: Fix maintainence of next_tx_{us,ns}.

Also a minor fixup from Adrian Bunk.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[BRIDGE]: Limit BRCTL_GET_BRIDGES to 2048 bridges.
Alan Cox [Wed, 16 Mar 2005 06:48:24 +0000 (22:48 -0800)]
[BRIDGE]: Limit BRCTL_GET_BRIDGES to 2048 bridges.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV4]: Make ipt_REJECT use icmp_send again.
Herbert Xu [Wed, 16 Mar 2005 06:44:28 +0000 (22:44 -0800)]
[IPV4]: Make ipt_REJECT use icmp_send again.

As it is ipt_REJECT doesn't work at all with IPsec.  Despite my efforts
previously in making the policy lookups work there I neglected to change
the final call to dst_output so the policy lookup is useless.

ipt_REJECT also had a number of deviations from icmp_send which seems to
be unjustified.  For examples it ignored source routing IP options.

There was a bug in icmp_send too :) It didn't set the ICMP type/code
values for the policy lookup.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[ISDN]: Set skb->input_dev properly.
Andrew Morton [Wed, 16 Mar 2005 06:27:10 +0000 (22:27 -0800)]
[ISDN]: Set skb->input_dev properly.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[AX25]: Fix build.
David S. Miller [Wed, 16 Mar 2005 06:26:05 +0000 (22:26 -0800)]
[AX25]: Fix build.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://kernel.bkbits.net/tgraf/net-2.6-sock-reorder
David S. Miller [Wed, 16 Mar 2005 06:16:33 +0000 (22:16 -0800)]
Merge bk://kernel.bkbits.net/tgraf/net-2.6-sock-reorder
into sunset.davemloft.net:/home/davem/src/BK/net-2.6

20 years ago[AX25]: Use skb_queue_purge().
Ralf Bächle [Wed, 16 Mar 2005 06:15:19 +0000 (22:15 -0800)]
[AX25]: Use skb_queue_purge().

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV4]: All deletion of equal addresses only differing by prefix length.
Thomas Graf [Wed, 16 Mar 2005 06:14:21 +0000 (22:14 -0800)]
[IPV4]: All deletion of equal addresses only differing by prefix length.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Use get_unaligned() in tcp_parse_options()
Sven Henkel [Wed, 16 Mar 2005 06:07:17 +0000 (22:07 -0800)]
[TCP]: Use get_unaligned() in tcp_parse_options()

TCP options are not guaranteed to be aligned at all, so we should use
get_unaligned when accessing u16- or u32-values in the TCP
options header to avoid alignment errors on some platforms. The patch
applies to vanilla 2.6.11.

Signed-off-by: Sven Henkel <shenkel@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPSEC]: Revert ip{,6}_append_data() dst_mtu() conversion.
David S. Miller [Wed, 16 Mar 2005 06:02:46 +0000 (22:02 -0800)]
[IPSEC]: Revert ip{,6}_append_data() dst_mtu() conversion.

This patch is wrong.  This is the *one* place where we do need to
use the path MTU.  The reason is that when the packet is fragmented
we only pay for the IPsec overhead once over all and not once for
each fragment.

Please revert it for now.

The trailer_len in ip_append_data is not quite right as the trailer's
length depends on the length of the entire packet.  However, it should
be harmless since ESP knows how to extend the packet when necessary.

Cset exclude: herbert@gondor.apana.org.au|ChangeSet|20050315181807|13007

20 years ago[IA64] override for pgd_addr_end to step around holes
Tony Luck [Wed, 16 Mar 2005 01:37:39 +0000 (17:37 -0800)]
[IA64] override for pgd_addr_end to step around holes

Every user region has a hole in the middle where we don't have
enough bits in pgd+pmd+pte so pgd_addr_end needs some extra math
to compute the virtual address base of the next pgd entry.

Thanks to Dave Miller for pointing me in the right direction.

Signed-off-by: Tony Luck <tony.luck@intel.com>
20 years ago[NET] Reorder struct tcp_options_received
Thomas Graf [Wed, 16 Mar 2005 01:29:26 +0000 (02:29 +0100)]
[NET] Reorder struct tcp_options_received

Reorders struct tcp_options_received to avoid padding and shrinks the
following fields to more appropriate sizes saving 8 bytes.

saw_tstamp: char -> 1 bit
tstamp_ok: char -> 1 bit
sack_ok: char -> 4 bits
wscale_ok: char -> 1 bit
snd_wscale: u8 -> 4 bits
rcv_wscale: u8 -> 4 bits
dsack: u8 -> 1 bit

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Reorder struct ipv6_pinfo
Thomas Graf [Wed, 16 Mar 2005 01:27:28 +0000 (02:27 +0100)]
[NET] Reorder struct ipv6_pinfo

Converts hop_limit and mcast_hops to signed 16 bit types saving 4 bytes
on 32bit archs and another 4 bytes on 64bit archs.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Reorder struct sock
Thomas Graf [Wed, 16 Mar 2005 01:24:54 +0000 (02:24 +0100)]
[NET] Reorder struct sock

Reorders struct sock to avoid padding and shrinks the following
fields to more appropriate sizes saving 12 bytes and some more
on 64bit architectures.

sk_shutdown: char -> 2 bits
sk_no_checks: char -> 2 bits
sk_userlocks: char -> 4 bits

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_queue_shrunk into SOCK_QUEUE_SHRUNK flag
Thomas Graf [Wed, 16 Mar 2005 01:23:08 +0000 (02:23 +0100)]
[NET] Convert sk_queue_shrunk into SOCK_QUEUE_SHRUNK flag

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_localroute into SOCK_LOCALROUTE flag and use RT_CONN_FLAGS where...
Thomas Graf [Wed, 16 Mar 2005 01:20:49 +0000 (02:20 +0100)]
[NET] Convert sk_localroute into SOCK_LOCALROUTE flag and use RT_CONN_FLAGS where appropriate

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_no_largesend into SOCK_NO_LARGESEND flag
Thomas Graf [Wed, 16 Mar 2005 01:15:15 +0000 (02:15 +0100)]
[NET] Convert sk_no_largesend into SOCK_NO_LARGESEND flag

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_rcvtstamp into SOCK_RCVTSTAMP flag
Thomas Graf [Wed, 16 Mar 2005 01:10:30 +0000 (02:10 +0100)]
[NET] Convert sk_rcvtstamp into SOCK_RCVTSTAMP flag

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_debug into SOCK_DBG flag
Thomas Graf [Wed, 16 Mar 2005 01:05:30 +0000 (02:05 +0100)]
[NET] Convert sk_debug into SOCK_DBG flag

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_user_write_queue into SOCK_USE_WRITE_QUEUE flag
Thomas Graf [Wed, 16 Mar 2005 00:57:29 +0000 (01:57 +0100)]
[NET] Convert sk_user_write_queue into SOCK_USE_WRITE_QUEUE flag

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Convert sk_zapped into SOCK_ZAPPED flag
Thomas Graf [Wed, 16 Mar 2005 00:50:36 +0000 (01:50 +0100)]
[NET] Convert sk_zapped into SOCK_ZAPPED flag

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET] Reorder struct inet_sock
Thomas Graf [Wed, 16 Mar 2005 00:40:20 +0000 (01:40 +0100)]
[NET] Reorder struct inet_sock

tos: int -> 8bit
uc_ttl: int -> 16 bit
cmsg_flags: int -> 16 bit
hdrincl: 8bit -> 1 bit
mc_loop: 8bit -> 1 bit

Saves 12 bytes together with the reordering.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] Fix PA-RISC IDE macros
Matthew Wilcox [Wed, 16 Mar 2005 00:29:32 +0000 (16:29 -0800)]
[PATCH] Fix PA-RISC IDE macros

Fix prototype of __ide_mm_{in,out}{sw,sl} function prototypes

Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix PA-RISC put_user
Matthew Wilcox [Wed, 16 Mar 2005 00:29:15 +0000 (16:29 -0800)]
[PATCH] Fix PA-RISC put_user

Some put_user() callers mismatch the type of the object and the pointer.
Since PA-RISC is big-endian, the wrong bits were being copied to userspace.

Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PA-RISC Harmony update
Matthew Wilcox [Wed, 16 Mar 2005 00:28:57 +0000 (16:28 -0800)]
[PATCH] PA-RISC Harmony update

Minor line wrapping fix

From: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PA-RISC MUX device is not a boot console
Matthew Wilcox [Wed, 16 Mar 2005 00:28:40 +0000 (16:28 -0800)]
[PATCH] PA-RISC MUX device is not a boot console

MUX should never have had CON_BOOT set

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] drivers/parisc: Convert to pci_register_driver
Matthew Wilcox [Wed, 16 Mar 2005 00:28:24 +0000 (16:28 -0800)]
[PATCH] drivers/parisc: Convert to pci_register_driver

convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PA-RISC power controller update
Matthew Wilcox [Wed, 16 Mar 2005 00:28:07 +0000 (16:28 -0800)]
[PATCH] PA-RISC power controller update

 - Small cleanups to LED/LCD support code

From: Grant Grundler <grundler@parisc-linux.org>
 - asm/irq.h is unnecessary

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Update PA-RISC documentation directory
Matthew Wilcox [Wed, 16 Mar 2005 00:27:51 +0000 (16:27 -0800)]
[PATCH] Update PA-RISC documentation directory

IODC.txt and mm were removed ages ago

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 15 Mar 2005 23:46:29 +0000 (15:46 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 15 Mar 2005 23:30:11 +0000 (15:30 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[WATCHDOG] Makefile-patch
Dave Jones [Tue, 15 Mar 2005 22:07:13 +0000 (23:07 +0100)]
[WATCHDOG] Makefile-patch

The comment at the top of the Makefile suggests that the current
ordering is incorrect.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
20 years ago[WATCHDOG] pcwd_pci-register-driver-patch
Wim Van Sebroeck [Tue, 15 Mar 2005 21:53:50 +0000 (22:53 +0100)]
[WATCHDOG] pcwd_pci-register-driver-patch

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
20 years ago[WATCHDOG] s3c2410-divide-patch
Ben Dooks [Tue, 15 Mar 2005 21:39:19 +0000 (22:39 +0100)]
[WATCHDOG] s3c2410-divide-patch

The s3c2410 watchdog driver has an incorrect /2
in the timer calculation, fix this problem

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
20 years ago[WATCHDOG] pcwd_usb: usb_control_msg-timeout-patch
Wim Van Sebroeck [Tue, 15 Mar 2005 21:32:57 +0000 (22:32 +0100)]
[WATCHDOG] pcwd_usb: usb_control_msg-timeout-patch

set timeout in usb_control_msg to USB_COMMAND_TIMEOUT instead of a
full second.

20 years ago[IPV6]: Fix non-modular build.
Peter Chubb [Tue, 15 Mar 2005 19:08:22 +0000 (11:08 -0800)]
[IPV6]: Fix non-modular build.

Remove __exit from functions calls from functions
other than module_exit().

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC64]: Override {pgd,pmd}_addr_end() to handle vaddr hole.
David S. Miller [Tue, 15 Mar 2005 12:34:36 +0000 (04:34 -0800)]
[SPARC64]: Override {pgd,pmd}_addr_end() to handle vaddr hole.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] NFS: Ensure that dirty pages are written with the right creds.
Trond Myklebust [Tue, 15 Mar 2005 11:44:28 +0000 (03:44 -0800)]
[PATCH] NFS: Ensure that dirty pages are written with the right creds.

 When doing shared mmap writes, the resulting dirty NFS pages may
 find themselves incapable of being flushed out if I/O is started
 after the file was released.
 Make sure we start I/O on all existing dirty pages in nfs_file_release().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fixes to mmtimer driver
Christoph Lameter [Tue, 15 Mar 2005 11:37:28 +0000 (03:37 -0800)]
[PATCH] Fixes to mmtimer driver

Fix the issue that the timer sometimes will not fire if the scheduled time
has already expired.  Plus some simplifications and style changes.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fs/proc/base.c - fix sparse errors
Ben Dooks [Tue, 15 Mar 2005 11:37:12 +0000 (03:37 -0800)]
[PATCH] fs/proc/base.c - fix sparse errors

Rewrite initialiser for proc_oom_adjust_operations, and add __user
annotations to oom_adjust_{read|write}

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] gcc4 fix for sn_serial.c
Jesse Barnes [Tue, 15 Mar 2005 11:36:55 +0000 (03:36 -0800)]
[PATCH] gcc4 fix for sn_serial.c

The sal_console and sal_console_uart structures have a circular
relationship since they both initialize member fields to pointers of one
another.  The current code forward declares sal_console_uart as extern so
that sal_console can take its address, but gcc4 complains about this since
the real definition of sal_console_uart is marked 'static'.  This patch
just removes the static qualifier from sal_console_uart to avoid the
inconsistency.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] use strncpy in get_task_comm
Prasanna Meda [Tue, 15 Mar 2005 11:36:39 +0000 (03:36 -0800)]
[PATCH] use strncpy in get_task_comm

Set_task_comm uses strlcpy, so get_task_comm must use strncpy.

Signed-Off-by: Prasanna Meda <pmeda@akamai.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ia64 msi build fix
Andrew Morton [Tue, 15 Mar 2005 11:36:22 +0000 (03:36 -0800)]
[PATCH] ia64 msi build fix

drivers/pci/quirks.c:pci_msi_quirk is only defined if CONFIG_X86_IO_APIC, but
msi_init() unconditionally uses it.

Acked-by: "Nguyen, Tom L" <tom.l.nguyen@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] dvb pll warning fix
Andrew Morton [Tue, 15 Mar 2005 11:36:06 +0000 (03:36 -0800)]
[PATCH] dvb pll warning fix

  CC [M]  drivers/media/dvb/frontends/dvb-pll.o
drivers/media/dvb/frontends/dvb-pll.c:38: warning: excess elements in array initializer
drivers/media/dvb/frontends/dvb-pll.c:38: warning: (near initialization for `dvb_pll_thomson_dtt7579.entries')

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] saa7134 !CONFIG_MODULES build fix
Andrew Morton [Tue, 15 Mar 2005 11:35:49 +0000 (03:35 -0800)]
[PATCH] saa7134 !CONFIG_MODULES build fix

drivers/media/video/saa7134/saa7134-core.c: In function `saa7134_fini':
drivers/media/video/saa7134/saa7134-core.c:1215: `pending_registered' undeclared (first use in this function)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] esp build fix
Andrew Morton [Tue, 15 Mar 2005 11:35:33 +0000 (03:35 -0800)]
[PATCH] esp build fix

We forgot to add the spinlock to the device structure.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Tue, 15 Mar 2005 09:07:22 +0000 (01:07 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoFrom: James.Smart@Emulex.Com
James Bottomley [Tue, 15 Mar 2005 12:12:11 +0000 (06:12 -0600)]
From:  James.Smart@Emulex.Com

FC Remote Port Patch

This is the reworked patch for fc_remote ports.
It started with the "patch2" converted for scsi-misc-2.6 (and
updated for the revised midlayer scsi target implementation)
Incorporates Andrew Vasquez's updates
Adds scsi target scanning on behalf of the driver based on
addition of a per-host workq.

This patch adds support for FC Remote Ports (which may or may not
be FCP targets) to the fc transport. The attributes for the ports are
in support of HBAAPI. This patch also implements consistent scsi target
id bindings for the remote ports.

This patch also moves the dev_loss attribute from the target-level
fc_transport device to the remote port device. It also deletes the
link_down attribute. The fc_target_block and fc_target_unblock
routines have been replaced by fc_remote_port_block and
fc_remote_port_unblock. The fc_host_block/unblock functions have
been removed (unused).

A new interface has been created - fc_remove_host(), which a driver
must call immediately prior to scsi_remove_host() when unloading.
This tears down the transport, starget, and sdev devices.
The transport, which utilizes the midlayer mods to insert transport
entities between the shost and starget, results in a device tree
such as the following:

  /sys/class/fc_host/host4/device/rport-4:0-0/target4:0:0/4:0:0:0

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] add per scsi-host workqueues for defered processing
James Smart [Tue, 15 Mar 2005 11:58:52 +0000 (05:58 -0600)]
[PATCH] add per scsi-host workqueues for defered processing

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] target code updates to support scanned targets
Andrew Vasquez [Tue, 15 Mar 2005 11:49:34 +0000 (05:49 -0600)]
[PATCH] target code updates to support scanned targets

* add scsi_target_block() and scsi_target_unblock() routines which
  take a generic-device.  Side note:  there are mixture of
  scsi_<object>_<action>() and scsi_<action>_<noun>() functions defined
  in the scsi APIs -- going forward are there any 'guides' or
  suggestions on which to choose?
* modify scsi_remove_target() to take a generic-device.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] st msleep warning fix
Andrew Morton [Tue, 15 Mar 2005 10:38:02 +0000 (04:38 -0600)]
[PATCH] st msleep warning fix

drivers/scsi/st.c:805: warning: implicit declaration of function `msleep_interruptible'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoRevert recent NUMA and pgd_index() fixes, since they show regressions.
Linus Torvalds [Tue, 15 Mar 2005 08:12:13 +0000 (00:12 -0800)]
Revert recent NUMA and pgd_index() fixes, since they show regressions.

People are investigating.

Cset exclude: davem@sunset.davemloft.net|ChangeSet|20050315051617|44508
Cset exclude: kravetz@us.ibm.com[torvalds]|ChangeSet|20050314002422|18516

20 years ago[PATCH] SCSI tape security: require CAP_ADMIN for SG_IO etc.
Kai Mäkisara [Tue, 15 Mar 2005 07:52:18 +0000 (01:52 -0600)]
[PATCH] SCSI tape security: require CAP_ADMIN for SG_IO etc.

The kernel currently allows any user permitted to access the tape device file
to send the tape drive commands that may either make the tape drivers internal
state inconsistent or to change the drive parameters so that other users find
the drive to be unusable. This patch changes ioctl handling so that SG_IO,
SCSI_IOCTL_COMMAND, etc. require CAP_ADMIN. This solves the consistency
problems for SCSI tapes. The st driver provides user-accessible commands to
change the drive parameters that users may need to access.

The SCSI command permissions were discussed widely on the linux lists but this
did not result in any useful refinement of the permissions. It may very well
be that the tape drives are the only devices that users are sometimes given
permissions to access and that have security problems with the current command
filtering. This patch solves the problem for tapes and no more elaborate
patches are needed.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoLinux 2.6.11.4 v2.6.11.4
Greg Kroah-Hartman [Tue, 15 Mar 2005 07:50:14 +0000 (23:50 -0800)]
Linux 2.6.11.4

20 years ago[PATCH] SCSI tape fixes: remove f_pos handling
Kai Mäkisara [Tue, 15 Mar 2005 07:48:37 +0000 (01:48 -0600)]
[PATCH] SCSI tape fixes: remove f_pos handling

This patch applies over the previous patch in this thread. The patch removes
updating filp->f_pos. It has been dead code since 2.6.8 and nobody has missed
it.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] SCSI tape fixes (new version): sense descriptor
Kai Mäkisara [Tue, 15 Mar 2005 07:41:31 +0000 (01:41 -0600)]
[PATCH] SCSI tape fixes (new version): sense descriptor

This patch changes the sense descriptor initialization a little faster.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] use strncpy in get_task_comm
Andrew Morton [Tue, 15 Mar 2005 07:39:08 +0000 (23:39 -0800)]
[PATCH] use strncpy in get_task_comm

From: Prasanna Meda <pmeda@akamai.com>

Set_task_comm uses strlcpy, so get_task_comm must use strncpy.

Signed-Off-by: Prasanna Meda <pmeda@akamai.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] CAN-2005-0384: Remote Linux DoS on ppp servers
Paul Mackerras [Tue, 15 Mar 2005 07:38:47 +0000 (23:38 -0800)]
[PATCH] CAN-2005-0384: Remote Linux DoS on ppp servers

Martin Schulze writes:

> Ben Martel and Stephen Blackheath have discovered a denial-of-service attack
> that a client of pppd can make that can hang the server machine.  The bug is
> in the Linux kernel 2.6 (tested on 2.6.9), but it looks like it also exists
> in the 2.4 series.

Yes, this is my bug. :(

I would just do this instead:

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] aacraid: adapter naming fix
Mark Haverkamp [Tue, 15 Mar 2005 04:42:54 +0000 (22:42 -0600)]
[PATCH] aacraid: adapter naming fix

From Mark Salyzyn at Adaptec.

This fixes the way the aac device's id is calculated.

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] SCSI: Add TASK_ABORTED to status_byte macro
Mike Anderson [Tue, 15 Mar 2005 04:39:37 +0000 (22:39 -0600)]
[PATCH] SCSI: Add TASK_ABORTED to status_byte macro

Add TASK_ABORTED and ACA_ACTIVE to status_byte macro.

Signed-off-by: Mike Anderson <andmike@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] SCSI tape fixes: sense descriptor init, bsf->weof, blkno,
Kai Mäkisara [Tue, 15 Mar 2005 04:37:07 +0000 (22:37 -0600)]
[PATCH] SCSI tape fixes: sense descriptor init, bsf->weof, blkno,

Problems fixed:

- the sense descriptor is cleared before filling
- BSF and BSFM are added to the commands causing automatic writing of filemark
  if the previous operation was write (tar expects this)
- the block number is set to unknown (-1) if spacing forward ends at BLANK CHECK
- debugging printout of spacing counts fixed to work also with 64-bit systems

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoSCSI: dc395x.c add missing #include <linux/vmalloc.h>
James Bottomley [Tue, 15 Mar 2005 03:42:42 +0000 (21:42 -0600)]
SCSI: dc395x.c add missing #include <linux/vmalloc.h>

Prevents a compile warning about vmalloc/vfree being undefined

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoSCSI: fix transport statistics mismerge
James Bottomley [Tue, 15 Mar 2005 03:41:22 +0000 (21:41 -0600)]
SCSI: fix transport statistics mismerge

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoMerge by hand
James Bottomley [Tue, 15 Mar 2005 03:33:30 +0000 (21:33 -0600)]
Merge by hand

pci_ids.h (removal of on ID next to addition of another)
scsi_transport_iscsi.c: change of attribute_container_unregister
to transport_container_unregister.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 15 Mar 2005 02:56:50 +0000 (18:56 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[NET]: Remove fc_type_trans()
Adrian Bunk [Tue, 15 Mar 2005 02:26:35 +0000 (18:26 -0800)]
[NET]: Remove fc_type_trans()

The only user of fc_type_trans (drivers/net/fc/iph5526.c) is removed in
Linus' tree.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Tue, 15 Mar 2005 02:23:14 +0000 (18:23 -0800)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[AGPGART] Enable Intel AGP support for x86-64 again.
Dave Jones [Tue, 15 Mar 2005 07:38:47 +0000 (02:38 -0500)]
[AGPGART] Enable Intel AGP support for x86-64 again.

The previous commit that killed off the _mch driver forgot
to reenable the old driver.

Signed-off-by: Dave Jones <davej@redhat.com>
20 years ago[NET]: Replace dst_pmtu with dst_mtu
Herbert Xu [Tue, 15 Mar 2005 02:21:42 +0000 (18:21 -0800)]
[NET]: Replace dst_pmtu with dst_mtu

This patch replaces most of the other uses of dst_pmtu with dst_mtu.
As far as I can tell these are either identical because dst->path == dst,
or they're a straightforward replacement of (the slightly incorrect)
dst_pmtu(dst) - dst->header_Len with dst_mtu(dst).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV4/IPV6]: Take IPsec overhead into account in tunnels
Herbert Xu [Tue, 15 Mar 2005 02:19:37 +0000 (18:19 -0800)]
[IPV4/IPV6]: Take IPsec overhead into account in tunnels

This patch uses dst_mtu instead of dst_pmtu in the various tunnel
implementations.  As it is they simply ignore the IPsec overhead.
This leads to bogus MTU values inside the tunnels.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV4/IPV6]: Fix IPsec calculation in ip_append_data/ip6_append_data
Herbert Xu [Tue, 15 Mar 2005 02:18:07 +0000 (18:18 -0800)]
[IPV4/IPV6]: Fix IPsec calculation in ip_append_data/ip6_append_data

This patch fixes the IPsec overhead handling in ip_append_data and
ip6_append_data.  As it is they assume that the IPsec overhead is
constant.  This is not true as with ESP the IPsec overhead will vary
as the MTU varies.

The result is that they may produce packets that will exceed the MTU
when ESP is used.  Had it taken the trailer_len into account, it would
have produced packets less than the real MTU.

By switching to dst_mtu we get the optimal result.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Need to export dev_get_flags() to modules.
Andrew Morton [Tue, 15 Mar 2005 02:16:32 +0000 (18:16 -0800)]
[NET]: Need to export dev_get_flags() to modules.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[ARM PATCH] 2535/1: RPC - VIDC_BASE `void __iomem *` annotation
Ben Dooks [Mon, 14 Mar 2005 23:26:39 +0000 (23:26 +0000)]
[ARM PATCH] 2535/1: RPC - VIDC_BASE `void __iomem *` annotation

Patch from Ben Dooks

Add `void __iomem *` to VIDC_BASE

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2538/1: S3C2410 - ADC IRQ correct edge handling
Ben Dooks [Mon, 14 Mar 2005 23:07:28 +0000 (23:07 +0000)]
[ARM PATCH] 2538/1: S3C2410 - ADC IRQ correct edge handling

Patch from Ben Dooks

The S3C2410 ADC+TC interrupt where being registrered as
edge-sensitive IRQs, but the code was handling them as
if they where level-sensitive.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2537/2: S3C2410 - fix iomem warnings from sparse
Ben Dooks [Mon, 14 Mar 2005 22:46:53 +0000 (22:46 +0000)]
[ARM PATCH] 2537/2: S3C2410 - fix iomem warnings from sparse

Patch from Ben Dooks

Change all S3C24XX_VA defines to have the type `void __iomem *`
and the necessary changes to the other bits of the s3c24xx
support.
Note, the map_desc will need changing in the future to allow
`void __iomem *` instead of an unsigned long for IO

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years agoAdd statistics to generic transport class
James Bottomley [Mon, 14 Mar 2005 15:34:59 +0000 (09:34 -0600)]
Add statistics to generic transport class

These were lost from the SCSI transport classes in
the transition to the generic classes.  Ressurect it in
the generic class, since it's probable that more than SCSI
will want to use this.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 14 Mar 2005 15:20:38 +0000 (07:20 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 14 Mar 2005 15:10:38 +0000 (07:10 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] ipr: Handle new RAID 6 errors
Brian King [Mon, 14 Mar 2005 14:55:14 +0000 (08:55 -0600)]
[PATCH] ipr: Handle new RAID 6 errors

This patch allows ipr to properly log 2 new RAID 6 related
errors.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PKTGEN]: Fix thread_lock() usage.
Robert Olsson [Mon, 14 Mar 2005 13:43:50 +0000 (05:43 -0800)]
[PKTGEN]: Fix thread_lock() usage.

The current code bombs out with preemption enabled.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NETFILTER]: ipt_hashlimit.c needs lockhelp.h
Herbert Xu [Mon, 14 Mar 2005 13:41:19 +0000 (05:41 -0800)]
[NETFILTER]: ipt_hashlimit.c needs lockhelp.h

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>