Gerd Hoffmann [Mon, 12 May 2003 17:23:57 +0000 (17:23 +0000)]
added some suse-specific patches to the kernel.
suse-commit:
695282254fdd1c8504ac9e2d01f8711a3bc0c0a0
Andreas Schwab [Sat, 10 May 2003 15:06:20 +0000 (15:06 +0000)]
Gerd Hoffmann [Fri, 9 May 2003 16:10:21 +0000 (16:10 +0000)]
very first 2.5.x suse kernel :)
suse-commit:
cf3adb3b4ad1df9947866fbe2bd40de2ecd176f3
Linus Torvalds [Sun, 4 May 2003 09:48:09 +0000 (02:48 -0700)]
Linux 2.5.69
Ben Collins [Sun, 4 May 2003 09:21:12 +0000 (02:21 -0700)]
[PATCH] ieee1394 update (r925)
- Remove some 2.4 compatibility macros
- Fix userspace pointer misuse in video1394 ioctl. Caught by the
Stanford Checker. Gotta love the automated systems.
- Move our hotplug stuff around, to make the transition to putting our
module dev table in mod_devicetable.h.
- Fix ohci1394 for possible crash with async stream packets. Cleaned up
some debug messages.
Bartlomiej Zolnierkiewicz [Sun, 4 May 2003 09:01:13 +0000 (02:01 -0700)]
[PATCH] make floppy driver useable for 2.5
This fixes two bugs introduced by some 2.5 changes:
- O_NDELAY handling typo in floppy_open()
- handling of failed transfers in floppy_end_request()
(do equivalent of what 2.4 does)
Without first fix I was getting "floppy0: disk absent or changed during
operation" infinite loop on opening and without second fix, infinite loop
on error retry.
Now floppy driver seems to be (somehow) working :-).
Christoph Hellwig [Sun, 4 May 2003 05:13:40 +0000 (22:13 -0700)]
[PATCH] make <linux/blk.h> obsolete
This file was _the_ header for block-device related stuff in earlier
Linux versions, but nowdays there's just a few prototypes left that
really belong into blkdev.h or genhd.h (and in one case elevator.h).
This patch moves them over and removes everything but including
blkdev.h from blk.h Note that blkdev.h gets all the headers that
were included in blk.h inmplicitly too. Now we can start removing
all references to it an maybe kill it off before 2.6. *sniff*
Ben Collins [Sun, 4 May 2003 04:03:53 +0000 (21:03 -0700)]
[PATCH] add ieee1394 module dev table
This adds ieee1394 for module table registration.
Ben Collins [Sun, 4 May 2003 04:03:34 +0000 (21:03 -0700)]
[PATCH] Fix compat_ioctl
This fixes the compat_ioctl interface for the case where a NULL handler
is registered. This should produce a "compatible" as opposed to
"translated" interface for the specified ioctl. The patch was sent to
linux-kernel and no one complained (atleast with this second rev).
Christoph Hellwig [Sun, 4 May 2003 04:03:19 +0000 (21:03 -0700)]
[PATCH] make __bdevname output more similar to bdevname
Currently __bdevname walks the obsolete list of block majors to
find a name for the given dev_t and falls back to unknown-block(%u,%u)
if that's not possible. Replace this with an attempted get_gendisk() +
disk_name. This means __bdevname can't be called from irq context
anymore, but as all old irq context callers are using bdevname() now
that fine (and I've added a big comment).
Christoph Hellwig [Sun, 4 May 2003 04:03:06 +0000 (21:03 -0700)]
[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT from sunrpc
- both rpciod_up and rpciod_down do a gratious inc/dec of the
use count - but we can't ever be inside those function unless
it's called from an other module -> totally useless
- rpciod() (the kernel thread) also bumps the refcount when starting
and decrements it when exiting. but as a different module must
initiate this using rpciod_up/rpciod_down this is again not needed.
(except when a module does rpciod_up without a matching rpciod_down -
but that a big bug anyway and we don't need to partially handle that
using module refcounts).
Christoph Hellwig [Sun, 4 May 2003 04:02:56 +0000 (21:02 -0700)]
[PATCH] switch drivers/input/serio/serport.c to new-style module handling
Linus Torvalds [Sun, 4 May 2003 04:01:46 +0000 (21:01 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
James Morris [Sat, 3 May 2003 23:27:16 +0000 (16:27 -0700)]
[IPSEC]: Consolidate some output code into xfrm_check_output.
Bart De Schuymer [Sat, 3 May 2003 23:22:27 +0000 (16:22 -0700)]
[EBTABLES]: Add ARP MAC address filtering.
François Romieu [Sat, 3 May 2003 23:15:48 +0000 (16:15 -0700)]
[DECNET]: Fix build with CONFIG_DECNET_ROUTE_FWMARK enabled.
Bart De Schuymer [Sat, 3 May 2003 23:13:24 +0000 (16:13 -0700)]
[EBTABLES]: Add ebtables match for the pkt_type member of an skbuff.
Paul Mackerras [Sat, 3 May 2003 23:10:43 +0000 (16:10 -0700)]
[PPP]: Module owners for ppp compressors.
Vinay K. Nallamothu [Sat, 3 May 2003 23:09:16 +0000 (16:09 -0700)]
[PKT_SCHED]: Use mod_timer in sch_htb.c
Vinay K. Nallamothu [Sat, 3 May 2003 23:08:28 +0000 (16:08 -0700)]
[PKT_SCHED]: Use mod_timer in sch_csz.c
Vinay K. Nallamothu [Sat, 3 May 2003 23:07:34 +0000 (16:07 -0700)]
[PKT_SCHED]: Use mod_timer in sch_cbq.c
Vinay K. Nallamothu [Sat, 3 May 2003 23:06:38 +0000 (16:06 -0700)]
[NET]: Use mod_timer in dst.c
David S. Miller [Sat, 3 May 2003 23:05:13 +0000 (16:05 -0700)]
Merge bk://kernel.bkbits.net/acme/net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
James Morris [Sat, 3 May 2003 23:02:15 +0000 (16:02 -0700)]
[IPV4]: Choose new rt_hash_rnd every rt_run_flush.
Linus Torvalds [Sun, 4 May 2003 00:09:51 +0000 (17:09 -0700)]
Merge bk://are.twiddle.net/unwind-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
David S. Miller [Sat, 3 May 2003 22:50:53 +0000 (15:50 -0700)]
[SPARC64]: oprofile/init.c needs errno.h
David S. Miller [Sat, 3 May 2003 22:49:05 +0000 (15:49 -0700)]
[SPARC64]: Update defconfig.
David S. Miller [Sat, 3 May 2003 22:45:35 +0000 (15:45 -0700)]
[OPROFILE]: timer_int.c needs profile.h and init.h
Arnaldo Carvalho de Melo [Sat, 3 May 2003 18:03:26 +0000 (15:03 -0300)]
o vlan: fix comment about understanding shared skbs.
Richard Henderson [Sat, 3 May 2003 15:48:53 +0000 (08:48 -0700)]
Fix unwind info for sysenter entry point.
Add unwind info for sigreturn entry points.
Roland McGrath [Sat, 3 May 2003 11:50:19 +0000 (04:50 -0700)]
[PATCH] allow ptrace and /proc/PID/mem to read fixmap pages
This allows access to the globally shared FIXMAP mapping for ptrace
and frieds, so that debuggers can sanely trace through the vsyscall
sequence.
John Levon [Sat, 3 May 2003 11:42:55 +0000 (04:42 -0700)]
[PATCH] OProfile update
Schedule work away on an unmap, instead of calling it directly. Should result
in less lost samples, and it fixes a lock ordering problem buffer_sem <-> mmap_sem
John Levon [Sat, 3 May 2003 11:42:47 +0000 (04:42 -0700)]
[PATCH] OProfile update
Change the lost_mmap_sem stat to lost_no_mm, and account it.
John Levon [Sat, 3 May 2003 11:42:38 +0000 (04:42 -0700)]
[PATCH] OProfile update
We were doing del_timer_sync() on shutdown, but not ensuring that any queued work
was done as well.
John Levon [Sat, 3 May 2003 11:42:29 +0000 (04:42 -0700)]
[PATCH] OProfile update
Now we don't do buffer syncs whilst holding current's mmap_sem ever,
we can wait to hold it. Also take task_lock and try to improve the docs a bit.
John Levon [Sat, 3 May 2003 11:42:19 +0000 (04:42 -0700)]
[PATCH] OProfile update
If there's are multiple tasks sleeping inside the read routine ever, this is necessary.
John Levon [Sat, 3 May 2003 11:42:12 +0000 (04:42 -0700)]
[PATCH] OProfile update
Clear up the code around start_sem so it's more obvious, and remove a pointless
down/up pair on buffer_sem (shutdown is already synchronised in sync_stop()).
John Levon [Sat, 3 May 2003 11:42:02 +0000 (04:42 -0700)]
[PATCH] OProfile update
Consolidate all the arch copies of timer_int.c into one place. Also fixes
a problem with PA-RISC not using instruction_pointer() when it should.
John Levon [Sat, 3 May 2003 11:41:31 +0000 (04:41 -0700)]
[PATCH] OProfile update
Convention is that error returns are negative.
Linus Torvalds [Sat, 3 May 2003 11:36:37 +0000 (04:36 -0700)]
Revert pmd/pgd slabification. wli will fix it properly
Cset exclude: akpm@digeo.com|ChangeSet|
20030204165956|06074
Cset exclude: akpm@digeo.com|ChangeSet|
20030204165949|06077
Linus Torvalds [Sat, 3 May 2003 04:44:17 +0000 (21:44 -0700)]
Merge ssh://kernel.org//home/hch/BK/xfs/linux-2.5/
into home.transmeta.com:/home/torvalds/v2.5/linux
Paul Fulghum [Sat, 3 May 2003 03:39:08 +0000 (20:39 -0700)]
[PATCH] pci.ids update
This patch adds new PCI IDs to the drivers/pci/pci.ids file.
Paul Fulghum [Sat, 3 May 2003 03:39:00 +0000 (20:39 -0700)]
[PATCH] Added new PCI ID
Linus Torvalds [Sat, 3 May 2003 03:38:26 +0000 (20:38 -0700)]
PCI ID's for Quadrics from Daniel Blueman
Linus Torvalds [Sat, 3 May 2003 03:28:36 +0000 (20:28 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
David S. Miller [Sat, 3 May 2003 03:13:59 +0000 (20:13 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Sat, 3 May 2003 03:11:53 +0000 (20:11 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
James Morris [Sat, 3 May 2003 03:01:33 +0000 (20:01 -0700)]
[NET]: Cosmetic cleanups of jhash code.
- Consistent naming (i.e. jhash_xxx)
- Reduces the 2&1 word variants to call jhash_3words()
- Replaces __inline__ with inline.
Harald Welte [Sat, 3 May 2003 01:03:38 +0000 (18:03 -0700)]
[NETFILTER]: Trivial but important state fix for ipt_conntrack.
David S. Miller [Fri, 2 May 2003 18:55:30 +0000 (11:55 -0700)]
[IPV4]: Add missing init_timer for rt_secret_timer.
Nivedita Singhvi [Fri, 2 May 2003 18:41:16 +0000 (11:41 -0700)]
[AF_UNIX]: Fix max_dgram_qlen procfs permissions.
David S. Miller [Fri, 2 May 2003 18:13:39 +0000 (11:13 -0700)]
Merge bk://kernel.bkbits.net/acme/net_family-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:43:10 +0000 (21:43 -0300)]
o ipv4: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops
registered with the core. The sk_set_owner cases are in the callers
of tp->af_specific->syn_recv_sock so as to not have spurious extra
sk_set_owner calls in the ipv6 code that reuses ipv4 code.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:42:36 +0000 (21:42 -0300)]
o ipv6: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops
registered with the core, also remove the MOD_{INC,DEC}_USE_COUNT,
as they are not needed anymore with this new net module infrastructure
for struct sock and struct socket. (well, see the netdev discussion :)
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:41:55 +0000 (21:41 -0300)]
o sctp: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:41:14 +0000 (21:41 -0300)]
o x25: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:40:29 +0000 (21:40 -0300)]
o wanpipe: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:39:46 +0000 (21:39 -0300)]
o unix: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:38:52 +0000 (21:38 -0300)]
o rose: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:38:04 +0000 (21:38 -0300)]
o packet: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:34:13 +0000 (21:34 -0300)]
o netrom: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:31:41 +0000 (21:31 -0300)]
o netlink: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:23:58 +0000 (21:23 -0300)]
o llc: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:20:22 +0000 (21:20 -0300)]
o af_key: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:19:27 +0000 (21:19 -0300)]
o irda: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:18:07 +0000 (21:18 -0300)]
o ipx: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:16:52 +0000 (21:16 -0300)]
o econet: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:16:12 +0000 (21:16 -0300)]
o decnet: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:15:24 +0000 (21:15 -0300)]
o ax25: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:14:32 +0000 (21:14 -0300)]
o appletalk: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:13:25 +0000 (21:13 -0300)]
o bluetooth: use revised net module infrastructure
Using THIS_MODULE in the struct proto_ops registered with the core.
Arnaldo Carvalho de Melo [Sat, 3 May 2003 00:01:05 +0000 (21:01 -0300)]
o pppoe: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Arnaldo Carvalho de Melo [Fri, 2 May 2003 23:57:58 +0000 (20:57 -0300)]
o net: improve the current module infrastructure
As per discussions in netdev we'll probably be moving to a brand new scheme, but this
set of changesets have been discussed and are an improvement to the current situation
and were already done prior to this thread happening.
David S. Miller [Fri, 2 May 2003 18:06:51 +0000 (11:06 -0700)]
[IPV4]: Fix typo in hashing changes.
David S. Miller [Fri, 2 May 2003 17:54:29 +0000 (10:54 -0700)]
[IPV4]: Fix ip_rt_acct reading.
David S. Miller [Fri, 2 May 2003 17:43:27 +0000 (10:43 -0700)]
[NET]: Fix hashing exploits in ipv4 routing, IP conntrack, and TCP synq.
Several hash table implementations in the networking were
remotely exploitable. Remote attackers could launch attacks
whereby, using carefully choosen forged source addresses, make
every routing cache entry get hashed into the same hash chain.
Netfilter's IP conntrack module and the TCP syn-queue implementation
had identical vulnerabilities and have been fixed too.
The choosen solution to the problem involved using Bob's Jenkins
hash along with a randomly choosen input. For the ipv4 routing
cache we take things one step further and periodically choose a
new random secret. By default this happens every 10 minutes, but
this is configurable by the user via sysctl knobs.
David S. Miller [Fri, 2 May 2003 15:50:11 +0000 (08:50 -0700)]
Merge bk://kernel.bkbits.net/acme/dev-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
Arnaldo Carvalho de Melo [Fri, 2 May 2003 23:17:31 +0000 (20:17 -0300)]
o net/core/dev: another fix for the seq_file handling of /proc/net/dev
With this one and 100 dummy interfaces everything now is working
flawlessly, case closed :-)
Arnaldo Carvalho de Melo [Fri, 2 May 2003 23:15:44 +0000 (20:15 -0300)]
o net/core/dev: add missing ++*pos in dev_seq_next
This cures the problem reported in lkml when there are lots
of net devices, tested with 50 dummy interfaces, there is
still one glitch when there are more info produced than
one page, where one entry is missed, I'm working on this
one now.
Ah, dev_seq_show needs only seq_puts, not the more expensive
seq_printf.
Arnaldo Carvalho de Melo [Fri, 2 May 2003 23:13:08 +0000 (20:13 -0300)]
o net/core/dev: fix obvious bug in dev_get_idx.
Thanks to Randy Dunlap for spotting this one, now to study report
about /proc/net/dev breakage with many interfaces.
David S. Miller [Fri, 2 May 2003 15:48:59 +0000 (08:48 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
Christoph Hellwig [Fri, 2 May 2003 08:21:44 +0000 (01:21 -0700)]
Merge
Nathan Scott [Sat, 3 May 2003 00:04:46 +0000 (02:04 +0200)]
[XFS] Fix compile for Alpha architecture.
SGI Modid: 2.5.x-xfs:slinx:147717a
Russell Cattelan [Sat, 3 May 2003 00:01:38 +0000 (02:01 +0200)]
[XFS] Rework the way xfs includes xfs_<blah>.h headers.
This reduces a lot of the compile dependenciesÂ, and should
reduce some of the "recompile all" situations.
SGI Modid: 2.5.x-xfs:slinx:147637a
Eric Sandeen [Fri, 2 May 2003 23:58:23 +0000 (01:58 +0200)]
[XFS] Make MODULE_AUTHOR consistent with other SGI modules
SGI Modid: 2.5.x-xfs:slinx:147518a
Stephen Lord [Fri, 2 May 2003 23:56:00 +0000 (01:56 +0200)]
[XFS] report extended attribute existence in the xattr flags field
SGI Modid: 2.5.x-xfs:slinx:146356a
Stephen Lord [Fri, 2 May 2003 23:54:06 +0000 (01:54 +0200)]
[XFS] Fix a use after free in the unwritten extent code. Also rework the
interface to the allocator to have its own flag set, and always
go through the same interface in all cases rather than having
unwritten extent requests take a different path from all others.
SGI Modid: 2.5.x-xfs:slinx:146678a
Stephen Lord [Fri, 2 May 2003 23:51:28 +0000 (01:51 +0200)]
[XFS] Rework the remount path to better seperate the linux vfs portion
and the xfs portion of it. Move the code to more appropriate
places in the tree.
SGI Modid: 2.5.x-xfs:slinx:146667a
Nathan Scott [Fri, 2 May 2003 23:41:07 +0000 (01:41 +0200)]
[XFS] Add a validity check for unwritten extents, trying to trap a problem
on ia64.
SGI Modid: 2.5.x-xfs:slinx:144727a
Nathan Scott [Fri, 2 May 2003 23:38:37 +0000 (01:38 +0200)]
[XFS] Fix build for big endian platforms; make xfs_xlate_dinode_core consistent.
SGI Modid: 2.5.x-xfs:slinx:144702a
Russell Cattelan [Fri, 2 May 2003 23:36:22 +0000 (01:36 +0200)]
[XFS] Whitespace cleanup
Merge whitespace cleanup to 2.5 tree
SGI Modid: 2.5.x-xfs:slinx:144573a
Nathan Scott [Fri, 2 May 2003 23:32:43 +0000 (01:32 +0200)]
[XFS] UUID cleanup - remove unused functions, create a decent table abstraction
and make the mount code simpler in the process.
SGI Modid: 2.5.x-xfs:slinx:144596a
Nathan Straz [Fri, 2 May 2003 23:30:40 +0000 (01:30 +0200)]
[XFS] Use "%p" to print out addresses from xfs_error_report(). This is so addresses
don't get truncated on 64-bit archs.
SGI Modid: 2.5.x-xfs:slinx:144138a
Linus Torvalds [Thu, 1 May 2003 18:29:38 +0000 (11:29 -0700)]
DRI texmem branch merge cleanups. Texture ages are unsigned, and
radeon should use generic texture structure now.
Roland McGrath [Thu, 1 May 2003 17:58:32 +0000 (10:58 -0700)]
[PATCH] Fix the DSO patch..
D'oh! My patch didn't include the new file:
Roland McGrath [Thu, 1 May 2003 16:18:50 +0000 (09:18 -0700)]
[PATCH] i386 vsyscall DSO implementation
This creates the full debugging input for the vsyscall page as a DSO,
allowing for debuggers and exception handlers to correctly handle the
processor state during the vsyscall.
There was a small bug in the core dump changes in the original patch I
posted. I fixed that, and the rest of the patch is unchanged.
Ben Collins [Thu, 1 May 2003 02:32:29 +0000 (19:32 -0700)]
[VIDEO]: Revert atyfb back to known working clean base.
David S. Miller [Thu, 1 May 2003 02:24:42 +0000 (19:24 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5
David S. Miller [Thu, 1 May 2003 01:03:38 +0000 (18:03 -0700)]
[SPARC64]: Update defconfig.
Ben Collins [Thu, 1 May 2003 01:01:37 +0000 (18:01 -0700)]
[VIDEO]: Revert cfbimgblt.c back to a working state on 64-bit.