]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[IPV6]: Convert ip6ip6 tunnel driver to alloc_netdev().
Ville Nuorvala [Wed, 9 Jul 2003 15:53:57 +0000 (08:53 -0700)]
[IPV6]: Convert ip6ip6 tunnel driver to alloc_netdev().

22 years agoMerge bk://kernel.bkbits.net/jmorris/net-2.5
David S. Miller [Wed, 9 Jul 2003 14:08:09 +0000 (07:08 -0700)]
Merge bk://kernel.bkbits.net/jmorris/net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years ago[IPV6] fix a dst leakage and clean-up in tcp_v6_connect()
Ville Nuorvala [Thu, 10 Jul 2003 21:43:32 +0000 (07:43 +1000)]
[IPV6] fix a dst leakage and clean-up in tcp_v6_connect()

22 years ago[NET] Add MODULE_LICENSE (GPL) to wanroutrer so that kernel is not tainted
Randy Dunlap [Thu, 10 Jul 2003 21:25:15 +0000 (07:25 +1000)]
[NET] Add MODULE_LICENSE (GPL) to wanroutrer so that kernel is not tainted

22 years ago[IPV6] Fix ipv6_addr_prefix() for prefixlen != 0 (mod 8)
Jean-Luc Richier [Thu, 10 Jul 2003 21:24:10 +0000 (07:24 +1000)]
[IPV6] Fix ipv6_addr_prefix() for prefixlen != 0 (mod 8)

22 years ago[IPSEC] Fix refcnt leak in xfrm_lookup
Herbert Xu [Thu, 10 Jul 2003 21:21:47 +0000 (07:21 +1000)]
[IPSEC] Fix refcnt leak in xfrm_lookup

This patch fixes a refcnt leak when the policy changes on us in
xfrm_lookup.

22 years ago[SUNHME]: Set RXMAX/TXMAX large enough to handle VLAN frames.
David S. Miller [Wed, 9 Jul 2003 14:01:46 +0000 (07:01 -0700)]
[SUNHME]: Set RXMAX/TXMAX large enough to handle VLAN frames.

22 years ago[IPV6]: Fix DST handling bug in ip6ip6_err().
Ville Nuorvala [Wed, 9 Jul 2003 13:49:51 +0000 (06:49 -0700)]
[IPV6]: Fix DST handling bug in ip6ip6_err().

22 years ago[NET]: Fix tunnel device bugs added by alloc_netdev() changes.
Ville Nuorvala [Wed, 9 Jul 2003 13:45:47 +0000 (06:45 -0700)]
[NET]: Fix tunnel device bugs added by alloc_netdev() changes.

22 years ago[TCP]: Eliminate spurious CWND restart on every new connection.
David S. Miller [Wed, 9 Jul 2003 13:23:04 +0000 (06:23 -0700)]
[TCP]: Eliminate spurious CWND restart on every new connection.

22 years ago[TCP]: Initialize socket route on move to established state.
David S. Miller [Wed, 9 Jul 2003 12:51:06 +0000 (05:51 -0700)]
[TCP]: Initialize socket route on move to established state.

22 years ago[TCP]: Delete obsolete comment.
Alexey Kuznetsov [Wed, 9 Jul 2003 12:18:15 +0000 (05:18 -0700)]
[TCP]: Delete obsolete comment.

22 years ago[NET]: PPP handling fragmented skbuffs.
Stephen Hemminger [Wed, 9 Jul 2003 12:16:24 +0000 (05:16 -0700)]
[NET]: PPP handling fragmented skbuffs.

22 years agoMake the gcc version checks use the preprocessor symbols
Linus Torvalds [Wed, 9 Jul 2003 06:41:38 +0000 (23:41 -0700)]
Make the gcc version checks use the preprocessor symbols
consistently.

22 years agoFix IDE initialization when we don't probe for interrupts.
Linus Torvalds [Wed, 9 Jul 2003 06:40:53 +0000 (23:40 -0700)]
Fix IDE initialization when we don't probe for interrupts.

The driver obviously cannot rely on the interrupt handler
when it is probing for interrupts, so the identify code is
written to not use interrupts and the probing code will
disable the interrupt after having figured out which one it
is.

The non-probe code should do the same, otherwise confusion
happens.

22 years agoMerge bk://kernel.bkbits.net/lord/xfs-2.5
Linus Torvalds [Wed, 9 Jul 2003 04:07:03 +0000 (21:07 -0700)]
Merge bk://kernel.bkbits.net/lord/xfs-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoCleanup xfs and pagebuf sysctl code, use posix initializers to avoid
Stephen Lord [Wed, 9 Jul 2003 06:40:23 +0000 (01:40 -0500)]
Cleanup xfs and pagebuf sysctl code, use posix initializers to avoid
confusion in the future over which constants apply to which initializers.

22 years agoRemove unused xfs_syncd.c file
Stephen Lord [Wed, 9 Jul 2003 06:21:13 +0000 (01:21 -0500)]
Remove unused xfs_syncd.c file

22 years ago[XFS] add swsusp support to xfs daemons
Eric Sandeen [Wed, 9 Jul 2003 06:17:38 +0000 (01:17 -0500)]
[XFS] add swsusp support to xfs daemons

SGI Modid: 2.5.x-xfs:slinx:152354a

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Wed, 9 Jul 2003 02:02:56 +0000 (19:02 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
Dave Jones [Wed, 9 Jul 2003 17:33:03 +0000 (18:33 +0100)]
Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/raid/src/kernel/2.5/cpufreq

22 years ago[CPUFREQ] More misc cleanups.
Dave Jones [Wed, 9 Jul 2003 17:30:21 +0000 (18:30 +0100)]
[CPUFREQ] More misc cleanups.

- CPUFREQ_ALL_CPUS is not a valid argument any more, don't mention it
  in include/linux/cpufreq.h
- without a driver->init() function a cpufreq driver isn't even
  loaded, so remove that check in the per-CPU initialization
- whitespace and clarification changes to linux/cpufreq.

All from Dominik again..

22 years ago[CPUFREQ] don't care about "rmmod -f". It's expected to break things.
Dave Jones [Wed, 9 Jul 2003 17:27:21 +0000 (18:27 +0100)]
[CPUFREQ] don't care about "rmmod -f". It's expected to break things.

More from Dominik

22 years ago[CPUFREQ] move cpufreq_restore(), and don't make it dependent on CONFIG_PM
Dave Jones [Wed, 9 Jul 2003 17:24:22 +0000 (18:24 +0100)]
[CPUFREQ] move cpufreq_restore(), and don't make it dependent on CONFIG_PM

From Dominik.

22 years ago[CPUFREQ] kobj refcount fixes.
Dave Jones [Wed, 9 Jul 2003 17:21:45 +0000 (18:21 +0100)]
[CPUFREQ] kobj refcount fixes.

Wait with the destruction of cpufreq objects until all references
are gone (code partly based on rmk's comparable patch for the PCMCIA
subsystem.

From Dominik.

22 years ago[CPUFREQ] Misc cleanups.
Dave Jones [Wed, 9 Jul 2003 17:19:20 +0000 (18:19 +0100)]
[CPUFREQ] Misc cleanups.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Wed, 9 Jul 2003 02:00:25 +0000 (19:00 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
Dave Jones [Wed, 9 Jul 2003 17:39:47 +0000 (18:39 +0100)]
Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/raid/src/kernel/2.5/agpgart

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 8 Jul 2003 15:55:17 +0000 (08:55 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[IPSEC]: Do not call request_module() under spinlock in xfrm_get_type().
James Morris [Tue, 8 Jul 2003 12:37:53 +0000 (05:37 -0700)]
[IPSEC]: Do not call request_module() under spinlock in xfrm_get_type().

22 years agoMerge bk://kernel.bkbits.net/jmorris/ipv6-2.5
David S. Miller [Tue, 8 Jul 2003 12:10:11 +0000 (05:10 -0700)]
Merge bk://kernel.bkbits.net/jmorris/ipv6-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years ago[IPV6] Fix BUG when appending destination options headers
Hideaki Yoshifuji [Wed, 9 Jul 2003 11:23:54 +0000 (21:23 +1000)]
[IPV6] Fix BUG when appending destination options headers

This patch fixes BUG when pushing IPv6 destination options over an
IPv6 raw socket.  Patch is based on one from Thomas Graf <tgr@reeler.org>.

22 years agoResolve conflicts in ipconfig.c changes.
David S. Miller [Tue, 8 Jul 2003 11:24:04 +0000 (04:24 -0700)]
Resolve conflicts in ipconfig.c changes.

22 years ago[IPV6] use correct mib struct
Randy Dunlap [Wed, 9 Jul 2003 20:30:18 +0000 (06:30 +1000)]
[IPV6] use correct mib struct

And spell it correctly :-)

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-serial
Linus Torvalds [Tue, 8 Jul 2003 09:42:59 +0000 (02:42 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-serial
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[SERIAL] Don't return -ERESTARTSYS if signals aren't pending.
Russell King [Wed, 9 Jul 2003 01:29:23 +0000 (02:29 +0100)]
[SERIAL] Don't return -ERESTARTSYS if signals aren't pending.

22 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Tue, 8 Jul 2003 09:34:50 +0000 (02:34 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Fix problem introduced by do_div() patch
Bernardo Innocenti [Tue, 8 Jul 2003 09:19:51 +0000 (02:19 -0700)]
[PATCH] Fix problem introduced by do_div() patch

 - export the __div64_32 symbol for modules;

 - add likely() to the fast path (divisor>>32 == 0);

 - add __attribute__((pure)) to __div64_32() prototype so
   the compiler knows global memory isn't clobbered;

 - avoid building __div64_32() on 64bit architectures.

22 years ago[PATCH] Fix thinko in acpi
Pavel Machek [Tue, 8 Jul 2003 09:18:05 +0000 (02:18 -0700)]
[PATCH] Fix thinko in acpi

22 years agoAvoid deadlocking on thread shutdown after a vfork.
Linus Torvalds [Tue, 8 Jul 2003 05:15:27 +0000 (22:15 -0700)]
Avoid deadlocking on thread shutdown after a vfork.

22 years ago[PATCH] FAT maintainership
Hirofumi Ogawa [Tue, 8 Jul 2003 02:55:47 +0000 (19:55 -0700)]
[PATCH] FAT maintainership

22 years ago[e1000] misc cleanup
Scott Feldman [Mon, 7 Jul 2003 21:58:48 +0000 (17:58 -0400)]
[e1000] misc cleanup

* whitespace cleanup
* removal of unused members of netdev priv struct
* extendable arrangement of h/w reset logic

22 years ago[e1000] s/int/unsigned int/ for descriptor ring indexes
Scott Feldman [Mon, 7 Jul 2003 21:57:00 +0000 (17:57 -0400)]
[e1000] s/int/unsigned int/ for descriptor ring indexes

* Perf cleanup: s/int/unsigned int/ for descriptor ring indexes
  [suggestion by Jeff Garzik].
* Perf cleanup: cache references to ring elements using local pointer

22 years ago[e1000] h/w workaround for mis-fused parts
Scott Feldman [Mon, 7 Jul 2003 21:54:51 +0000 (17:54 -0400)]
[e1000] h/w workaround for mis-fused parts

* h/w workaround: several 10's of thousands of 82547 controllers where
  mis-fused during manufacturing, resulting in PHY Tx amplitude to be
  too high and out of spec.  This workaround detects those parts, and
  compensates the Tx amplitude by subtracting ~80mV.

22 years ago[e1000] ethtool diag cleanup
Scott Feldman [Mon, 7 Jul 2003 21:52:31 +0000 (17:52 -0400)]
[e1000] ethtool diag cleanup

* Cleanup: ethtool diags: only reset if not if_running.

22 years ago[e1000] alloc_etherdev failure didn't cleanup regions
Scott Feldman [Mon, 7 Jul 2003 21:50:33 +0000 (17:50 -0400)]
[e1000] alloc_etherdev failure didn't cleanup regions

* Bug fix: alloc_etherdev failure didn't cleanup regions in probe.

22 years ago[e1000] missing Tx cleanup opportunities during intr handling
Scott Feldman [Mon, 7 Jul 2003 21:48:54 +0000 (17:48 -0400)]
[e1000] missing Tx cleanup opportunities during intr handling

* Bug fix: missing Tx cleanup opportunities during interrupt handling.

22 years ago[e1000] fix VLAN support on PPC64
Scott Feldman [Mon, 7 Jul 2003 21:47:37 +0000 (17:47 -0400)]
[e1000] fix VLAN support on PPC64

* Bug fix: fix VLAN support on PPC64 [Mark Rakes (mrakes@vivato.net)]

22 years ago[e1000] request_irq() failure resulted in freeing twice
Scott Feldman [Mon, 7 Jul 2003 21:46:39 +0000 (17:46 -0400)]
[e1000] request_irq() failure resulted in freeing twice

* Bug fix: request_irq() failure resulted in freeing resources twice!
  [Don Fry (brazilnut@us.ibm.com)]

22 years ago[PATCH] via-rhine 1.18-2.5: Fix Rhine-I regression
Roger Luethi [Mon, 7 Jul 2003 21:46:02 +0000 (17:46 -0400)]
[PATCH] via-rhine 1.18-2.5: Fix Rhine-I regression

This patch addresses a minor regression reported by Rhine-I users (leading
to occasional Tx timeouts).

I also merged some cosmetic changes.

22 years ago[IPSEC] Add policy expiration
Herbert Xu [Mon, 7 Jul 2003 20:55:20 +0000 (06:55 +1000)]
[IPSEC] Add policy expiration

This patch finally adds policy expiration.

Note that it resends soft policy expire messages every 30 seconds.  This
is needed as when "soft use expire" is used for dead peer detection,
a lost message could lead to a dead peer that isn't discovered until the
SAs expire.

I've only implemented notification for XFRM as I didn't want to just add
another PFKEY extension in case it collides with something else.  Of
course it could be easily done for PFKEY with an extension too.

22 years ago[NET] Attach inner qdiscs to TBF
Dmitry Torokhov [Mon, 7 Jul 2003 20:41:01 +0000 (06:41 +1000)]
[NET] Attach inner qdiscs to TBF

22 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Mon, 7 Jul 2003 18:00:08 +0000 (11:00 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

22 years ago[SPARC64]: Use kstat_this_cpu where possible.
David S. Miller [Mon, 7 Jul 2003 19:15:57 +0000 (12:15 -0700)]
[SPARC64]: Use kstat_this_cpu where possible.

22 years ago[SPARC64]: Kill all irq_cpustat_t except __softirq_pending.
David S. Miller [Mon, 7 Jul 2003 18:37:57 +0000 (11:37 -0700)]
[SPARC64]: Kill all irq_cpustat_t except __softirq_pending.

22 years ago[SPARC64]: Move raid xor into library assembler file.
David S. Miller [Mon, 7 Jul 2003 17:03:03 +0000 (10:03 -0700)]
[SPARC64]: Move raid xor into library assembler file.

22 years ago[PATCH] clean module_exit in m68knommu serial drivers
Greg Ungerer [Mon, 7 Jul 2003 16:22:14 +0000 (09:22 -0700)]
[PATCH] clean module_exit in m68knommu serial drivers

Remove un-used commented module_exit functions from m68knommu
ColdFire and 68328 serial drivers. These drivers currently cannot
be configured as modules, and they have no exit functions.

22 years ago[PATCH] fix security_initcall in m68knommu linker script
Greg Ungerer [Mon, 7 Jul 2003 16:21:47 +0000 (09:21 -0700)]
[PATCH] fix security_initcall in m68knommu linker script

Global SECURITY_INIT macro cannot be used inside .init section
for m68knommu linker script. It is a complete section of its own,
need to just list the components individually.

22 years ago[PATCH] conditional ROMfs copy for NETtel/5307 board
Greg Ungerer [Mon, 7 Jul 2003 16:21:25 +0000 (09:21 -0700)]
[PATCH] conditional ROMfs copy for NETtel/5307 board

Conditionally copy the ROMfs filesystem on the NETtel/5307
target board only if using a ROMfs.

22 years ago[PATCH] DragenEngine interrupt handler to use irqreturn_t
Greg Ungerer [Mon, 7 Jul 2003 16:21:02 +0000 (09:21 -0700)]
[PATCH] DragenEngine interrupt handler to use irqreturn_t

DragenEngine setup code updates:

 - Change interrupt handler return type to irqreturn_t
 - Allow configure time setting of boot parameters
 - Clean up warnings

22 years ago[PATCH] conditional ROMfs copy for SecureEdgeMP3/5307 board
Greg Ungerer [Mon, 7 Jul 2003 16:20:47 +0000 (09:20 -0700)]
[PATCH] conditional ROMfs copy for SecureEdgeMP3/5307 board

Conditionally copy the ROMfs filesystem on the SecureEdgeMP3/5307
target board only if using a ROMfs.

22 years ago[PATCH] 68328 DragenEngine configure updates
Greg Ungerer [Mon, 7 Jul 2003 16:20:38 +0000 (09:20 -0700)]
[PATCH] 68328 DragenEngine configure updates

Configuration updates for 68328 DragenEngine board. Fix up name
so that it is "DragenEngine" and clean up eeprom read.

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Mon, 7 Jul 2003 15:19:41 +0000 (08:19 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

22 years ago[PATCH] make create() follow symlinks again
Trond Myklebust [Mon, 7 Jul 2003 09:14:10 +0000 (02:14 -0700)]
[PATCH] make create() follow symlinks again

   The intent patches broke behaviour w.r.t. following symlinks when
doing an open() with file creation. The problem occurs in open_namei()
because the LOOKUP_PARENT flag is no longer set when we do the call to
follow_link().

22 years ago[PATCH] tgkill patch for safe inter-thread signals
Ulrich Drepper [Mon, 7 Jul 2003 08:31:32 +0000 (01:31 -0700)]
[PATCH] tgkill patch for safe inter-thread signals

This is the updated versions of the patch Ingo sent some time ago to
implement a new tgkill() syscall which specifies the target thread
without any possibility of ambiguity or thread ID wrap races, by passing
in both the thread group _and_ the thread ID as the arguments.

This is really needed since many/most people still run with limited PID
ranges (maybe due to legacy apps breaking) and the PID reuse can cause
problems.

22 years ago[PATCH] suspend SMP-kernel with one CPU
Pavel Machek [Mon, 7 Jul 2003 06:34:25 +0000 (23:34 -0700)]
[PATCH] suspend SMP-kernel with one CPU

This allows suspend to work on UP machines, even if the kernel
is compiled for SMP.

22 years ago[PATCH] ARM26 architecture update
Ian Molton [Mon, 7 Jul 2003 06:29:28 +0000 (23:29 -0700)]
[PATCH] ARM26 architecture update

22 years ago[PATCH] powernow-k7 typo fix
Bruno Ducrot [Mon, 7 Jul 2003 06:04:55 +0000 (23:04 -0700)]
[PATCH] powernow-k7 typo fix

Due to a typo in powernow-k7.c, the value which correspond
to the CPU core multiplicator and the VID value are swapped
when we go down to up in frequency step.

22 years ago[PATCH] Compile fix and cleanup for macserial driver
Paul Mackerras [Mon, 7 Jul 2003 06:04:09 +0000 (23:04 -0700)]
[PATCH] Compile fix and cleanup for macserial driver

This adds a declaration that the macserial driver needs in order to
compile correctly, and removes some old SERIAL_DO_RESTART junk which
isn't used (SERIAL_DO_RESTART is never defined in this driver) and which
I think is incorrect anyway, since it looks to me like it would
potentially return an ERESTARTSYS error without a signal pending.

22 years ago[PATCH] switch_mm and enter_lazy_tlb: remove cpu arg
Rusty Russell [Mon, 7 Jul 2003 06:01:50 +0000 (23:01 -0700)]
[PATCH] switch_mm and enter_lazy_tlb: remove cpu arg

switch_mm and enter_lazy_tlb take a CPU arg, which is always
smp_processor_id().  This is misleading, and pointless if they use
per-cpu variables or other optimizations.  gcc will eliminate
redundant smp_processor_id() (in inline functions) anyway.

This removes that arg from all the architectures.

22 years ago[PATCH] Make kstat_this_cpu in terms of __get_cpu_var and use it
Rusty Russell [Mon, 7 Jul 2003 06:01:42 +0000 (23:01 -0700)]
[PATCH] Make kstat_this_cpu in terms of __get_cpu_var and use it

kstat_this_cpu() is defined in terms of per_cpu instead of __get_cpu_var.

This patch changes that, and uses it everywhere appropriate.  The sched.c
change puts it in a local variable, which helps gcc generate better code.

22 years ago[PATCH] remove 68360 specific trap init call
Greg Ungerer [Mon, 7 Jul 2003 06:00:33 +0000 (23:00 -0700)]
[PATCH] remove 68360 specific trap init call

No longer need the 68360 specific trap init call. The generic
interrupt/trap code is now setup to do this itself.

22 years ago[PATCH] define raw read/write for m68knommu io access
Greg Ungerer [Mon, 7 Jul 2003 06:00:27 +0000 (23:00 -0700)]
[PATCH] define raw read/write for m68knommu io access

Define the raw read and write access macros for m68knommu.
These rae use by MTD drivers in particular.

22 years ago[PATCH] cleanup show_process_blocks() for non-mmu targets
Greg Ungerer [Mon, 7 Jul 2003 06:00:19 +0000 (23:00 -0700)]
[PATCH] cleanup show_process_blocks() for non-mmu targets

Clean up show_process_blocks() loop for non-mmu targets.

22 years ago[PATCH] define shared lib limits for flat loader
Greg Ungerer [Mon, 7 Jul 2003 06:00:12 +0000 (23:00 -0700)]
[PATCH] define shared lib limits for flat loader

This patch includes the last peices of the flat laoder shared
library support. Define the shared lib limit and implement a
flag for doing kernel level tracing.

22 years ago[PATCH] .no .romvec section for DragonEngine/68328 target
Greg Ungerer [Mon, 7 Jul 2003 06:00:04 +0000 (23:00 -0700)]
[PATCH] .no .romvec section for DragonEngine/68328 target

A couple of minor fixes for the 68328 interrupt setup code.

 - don't define the .romvec section for DragonEngine build
 - print newline at end of spurious interrupt count in show_interrupts()

22 years ago[PATCH] Double unlock in BSD accounting speedup patch
Ingo Molnar [Mon, 7 Jul 2003 05:51:59 +0000 (22:51 -0700)]
[PATCH] Double unlock in BSD accounting speedup patch

doh - double unlock in the acct-is-on path. Noticed by Aneesh Kumar K.V
<aneesh.kumar@digital.com>

22 years ago[IPV4] display bootserver in /proc/net/pnp
Lode Leroy [Sun, 6 Jul 2003 21:34:52 +0000 (07:34 +1000)]
[IPV4] display bootserver in /proc/net/pnp

With modification from niv@us.ibm.com to only print
bootserver if there was one.

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Sun, 6 Jul 2003 16:16:36 +0000 (09:16 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoFix statfs failure due to invalid value for ffree
Steve French [Sun, 6 Jul 2003 15:36:41 +0000 (08:36 -0700)]
Fix statfs failure due to invalid value for ffree

22 years ago[ATM] Convert clip neigh table to C99 initializers
Hideaki Yoshifuji [Sun, 6 Jul 2003 13:52:26 +0000 (23:52 +1000)]
[ATM] Convert clip neigh table to C99 initializers

This converts nlip_tbl to C99 initializers.
(and fixes wrong value for proxy_len and locktime.)

22 years ago[IPV6] fix algorithm for updating lifetime
Hideaki Yoshifuji [Sun, 6 Jul 2003 13:36:27 +0000 (23:36 +1000)]
[IPV6] fix algorithm for updating lifetime

This patch, depends on "IPV6: remove unused variable,"
fixes algorithm for updating lifetime according to RFC2462.
 - We should not delete an address even if prefix is
   advertised with valid lifetime == 0.
 - support the "2 hours" rule.

22 years ago[IPV6] remove unused variable
Hideaki Yoshifuji [Sun, 6 Jul 2003 13:35:30 +0000 (23:35 +1000)]
[IPV6] remove unused variable

22 years ago[IPV6] ignore on-link information without on-link flag set
Hideaki Yoshifuji [Sun, 6 Jul 2003 13:34:40 +0000 (23:34 +1000)]
[IPV6] ignore on-link information without on-link flag set

On-link flag == 0 in RA message does not mean that the
prefix is off-link. It simply means the prefix
does not talk about on-link information.

22 years ago[NET] Send only unicast NSs in PROBE state.
Hideaki Yoshifuji [Sun, 6 Jul 2003 13:32:45 +0000 (23:32 +1000)]
[NET] Send only unicast NSs in PROBE state.

22 years ago[PATCH] conditional ROMfs copy for Cleopatra/5307 board
Greg Ungerer [Sun, 6 Jul 2003 12:58:51 +0000 (05:58 -0700)]
[PATCH] conditional ROMfs copy for Cleopatra/5307 board

Conditionally copy the ROMfs filesystem on the Cleopatra/5307
target board only if using a ROMfs.

22 years ago[PATCH] BSD accounting speedup
Andrew Morton [Sun, 6 Jul 2003 12:41:34 +0000 (05:41 -0700)]
[PATCH] BSD accounting speedup

From: Ingo Molnar <mingo@elte.hu>

Most distributions turn on process accounting - but even the common
'accounting is off' case is horrible SMP-scalability-wise: it accesses a
global spinlock during every sys_exit() call, which bounces like mad on SMP
(and NUMA) systems.

(i also got rid of the unused return code.)

22 years ago[PATCH] display bootserver in /proc/net/pnp
Andrew Morton [Sun, 6 Jul 2003 12:41:27 +0000 (05:41 -0700)]
[PATCH] display bootserver in /proc/net/pnp

From: "lode leroy" <lode_leroy@hotmail.com>

I would like to submit a trivial enhancement to display the ip address of
the bootserver in /proc/net/pnp

This aids me in developing a diskless linux root image to know where it
comes from...

22 years ago[PATCH] Module autoloading for quota
Andrew Morton [Sun, 6 Jul 2003 12:41:19 +0000 (05:41 -0700)]
[PATCH] Module autoloading for quota

From: Jan Kara <jack@suse.cz>

This implements autoloading of quota modules.

22 years ago[PATCH] xattr: fine-grained locking
Andrew Morton [Sun, 6 Jul 2003 12:41:12 +0000 (05:41 -0700)]
[PATCH] xattr: fine-grained locking

From: Andreas Gruenbacher <agruen@suse.de>

This patch removes the dependency on i_sem in the getxattr and
listxattr iops of ext2 and ext3. In addition, the global ext[23]_xattr
semaphores go away. Instead of i_sem and the global semaphore, mutual
exclusion is now ensured by per-inode xattr semaphores, and by locking
the buffers before modifying them. The detailed locking strategy is
described in comments in fs/ext[23]/xattr.c.

Due to this change it is no longer necessary to take i_sem in
ext[23]_permission() for retrieving acls, so the
ext[23]_permission_locked() functions go away.

Additionally, the patch fixes a race condition in ext[23]_permission:
Accessing inode->i_acl was protected by the BKL in 2.4; in 2.5 there no
longer is such protection. Instead, inode->i_acl (and inode->i_default_acl)
are now accessed under inode->i_lock. (This could be replaced by RCU in
the future.)

In the ext3 extended attribute code, an new uglines results from locking
at the buffer head level: The buffer lock must be held between testing
if an xattr block can be modified and the actual modification to prevent
races from happening. Before a block can be modified,
ext3_journal_get_write_access() must be called. But this requies an unlocked
buffer, so I call ext3_journal_get_write_access() before locking the
buffer. If it turns out that the buffer cannot be modified,
journal_release_buffer() is called. Calling ext3_journal_get_write_access
after the test but while the buffer is still locked would be much better.

22 years ago[PATCH] xattrr: preparation for fine-grained locking
Andrew Morton [Sun, 6 Jul 2003 12:41:05 +0000 (05:41 -0700)]
[PATCH] xattrr: preparation for fine-grained locking

From: Andreas Gruenbacher <agruen@suse.de>

Andrew Morton found that there is lock contention between extended
attribute operations (like reading ACLs, which `ls -l' needs to do)
and other operations on the same files. This is due to the fact that
all extended attribute syscalls take inode->i_sem before calling into
the filesystem code.

To fix this problem, this patch no longer takes inode->i_sem in the
getxattr and listxattr syscalls, and moves the lock taking code into
the file systems. (Another patch improves the locking strategy in
ext2 and ext3.)

22 years ago[PATCH] xattr: update-in-place optimisation
Andrew Morton [Sun, 6 Jul 2003 12:40:57 +0000 (05:40 -0700)]
[PATCH] xattr: update-in-place optimisation

From: Andreas Gruenbacher <agruen@suse.de>

It is common to update extended attributes without changing the value's
length. This patch optimizes this case. In addition to that, the current
code tries to recognize early when extended attribute blocks become
empty. This optimization is not of significant value, so this patch
removes it, and moves the empty block test further down.

22 years ago[PATCH] xattr: blockdev inode selection fix
Andrew Morton [Sun, 6 Jul 2003 12:40:50 +0000 (05:40 -0700)]
[PATCH] xattr: blockdev inode selection fix

From: Andreas Gruenbacher <agruen@suse.de>

The inode->i_bdev field is not the same as inode->i_sb->s_bdev or bh->b_bdev.
We must compare inode->i_sb->s_bdev with bh->b_bdev, or else equal extended
attribute block will not be found.

22 years ago[PATCH] xattr: cleanups
Andrew Morton [Sun, 6 Jul 2003 12:40:42 +0000 (05:40 -0700)]
[PATCH] xattr: cleanups

From: From: Andreas Gruenbacher <agruen@suse.de>

* Various minor cleanups and simplifications in the extended attributes
  and acl code.

* Use a smarter shortcut rule in ext[23]_permission(): If the mask
  contains permissions that are not also contained in the group
  file mode permission bits, those permissions can never be granted by
  an acl. (The previous shortcut rule was more coarse.)

22 years ago[PATCH] proc_attr_lookup() fix
Andrew Morton [Sun, 6 Jul 2003 12:40:35 +0000 (05:40 -0700)]
[PATCH] proc_attr_lookup() fix

From: Daniele Belluci <bellucda@tiscali.it>

proc_attr_lookup() was missed out in Trond's conversion.  (It is behind
CONFIG_SECURITY).

22 years ago[PATCH] breadahead() tweaks
Andrew Morton [Sun, 6 Jul 2003 12:40:27 +0000 (05:40 -0700)]
[PATCH] breadahead() tweaks

- use ll_rw_block().

- use READA

- export it to modules.

22 years ago[PATCH] misc fixes
Andrew Morton [Sun, 6 Jul 2003 12:40:21 +0000 (05:40 -0700)]
[PATCH] misc fixes

- xfs printk warning fix (dev_t is ulong on ppc64)

- unused var in serial_remove() (Daniele Bellucci <bellucda@tiscali.it>)

22 years ago[PATCH] use task_cpu() not ->thread_info->cpu in sched.c
Andrew Morton [Sun, 6 Jul 2003 12:40:14 +0000 (05:40 -0700)]
[PATCH] use task_cpu() not ->thread_info->cpu in sched.c

From: Mikael Pettersson <mikpe@csd.uu.se>

This patch fixes two p->thread_info->cpu occurrences in kernel/sched.c to
use the task_cpu(p) macro instead, which is optimised on UP.  Although one
of the occurrences is under #ifdef CONFIG_SMP, it's bad style to use the
raw non-optimisable form in non-arch code.

22 years agoFix several broken macros to get the "private" field of a seq-file
Linus Torvalds [Sun, 6 Jul 2003 12:28:36 +0000 (05:28 -0700)]
Fix several broken macros to get the "private" field of a seq-file
in the networking code.

From YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

22 years ago[PATCH] flat loader v850 specific support abstracted
Greg Ungerer [Sun, 6 Jul 2003 12:25:03 +0000 (05:25 -0700)]
[PATCH] flat loader v850 specific support abstracted

Architecture specific flat loader code for v850 moved into its
own v850 flat.h header. This patch also adds supporti for a number
of relocation cases that need to be handled at laod time.

Most of this code is originally from Miles Bader <miles@gnu.org>.