Permalink
Commits on Apr 27, 2007
  1. @gregkh

    Linux 2.6.21.1

    gregkh committed Apr 27, 2007
  2. @gregkh

    IPV6: Fix for RT0 header ipv6 change.

    [IPV6]: Fix thinko in ipv6_rthdr_rcv() changes.
    
    Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    YOSHIFUJI Hideaki committed with gregkh Apr 27, 2007
  3. @sigprof @gregkh

    IPV4: Fix OOPS'er added to netlink fib.

    [IPV4] nl_fib_lookup: Initialise res.r before fib_res_put(&res)
    
    When CONFIG_IP_MULTIPLE_TABLES is enabled, the code in nl_fib_lookup()
    needs to initialize the res.r field before fib_res_put(&res) - unlike
    fib_lookup(), a direct call to ->tb_lookup does not set this field.
    
    Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    sigprof committed with gregkh Apr 27, 2007
Commits on Apr 26, 2007
  1. Linux 2.6.21

    .. ok, enough waffling about it already. "Just do it!"
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Linus Torvalds committed Apr 26, 2007
Commits on Apr 25, 2007
  1. Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

    * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
      [PARPORT] SUNBPP: Fix OOPS when debugging is enabled.
      [SPARC] openprom: Switch to ref counting PCI API
    Linus Torvalds committed Apr 25, 2007
  2. Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

    * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
      [NETLINK]: Infinite recursion in netlink.
    Linus Torvalds committed Apr 25, 2007
  3. packet: fix error handling

    The packet driver is assuming (reasonably) that the (undocumented)
    request.errors is an errno.  But it is in fact some mysterious bitfield.  When
    things go wrong we return weird positive numbers to the VFS as pointers and it
    goes oops.
    
    Thanks to William Heimbigner for reporting and diagnosis.
    
    (It doesn't oops, but this driver still doesn't work for William)
    
    Cc: William Heimbigner <icxcnika@mar.tar.cc>
    Cc: Peter Osterlund <petero2@telia.com>
    Cc: Jens Axboe <jens.axboe@oracle.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Andrew Morton committed with Linus Torvalds Apr 25, 2007
  4. @davem330

    [NETLINK]: Infinite recursion in netlink.

    Reply to NETLINK_FIB_LOOKUP messages were misrouted back to kernel,
    which resulted in infinite recursion and stack overflow.
    
    The bug is present in all kernel versions since the feature appeared.
    
    The patch also makes some minimal cleanup:
    
    1. Return something consistent (-ENOENT) when fib table is missing
    2. Do not crash when queue is empty (does not happen, but yet)
    3. Put result of lookup
    
    Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Alexey Kuznetsov committed with davem330 Apr 25, 2007
  5. cfq-iosched: fix alias + front merge bug

    There's a really rare and obscure bug in CFQ, that causes a crash in
    cfq_dispatch_insert() due to rq == NULL.  One example of the resulting
    oops is seen here:
    
    	http://lkml.org/lkml/2007/4/15/41
    
    Neil correctly diagnosed the situation for how this can happen: if two
    concurrent requests with the exact same sector number (due to direct IO
    or aliasing between MD and the raw device access), the alias handling
    will add the request to the sortlist, but next_rq remains NULL.
    
    Read the more complete analysis at:
    
    	http://lkml.org/lkml/2007/4/25/57
    
    This looks like it requires md to trigger, even though it should
    potentially be possible to due with O_DIRECT (at least if you edit the
    kernel and doctor some of the unplug calls).
    
    The fix is to move the ->next_rq update to when we add a request to the
    rbtree. Then we remove the possibility for a request to exist in the
    rbtree code, but not have ->next_rq correctly updated.
    
    Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Jens Axboe committed with Linus Torvalds Apr 25, 2007
  6. IPv6: fix Routing Header Type 0 handling thinko

    Oops, thinko.  The test for accempting a RH0 was exatly the wrong way
    around.
    
    Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    YOSHIFUJI Hideaki committed with Linus Torvalds Apr 25, 2007
  7. Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

    * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
      [BNX2]: Fix occasional NETDEV WATCHDOG on 5709.
      [IPV6]: Disallow RH0 by default.
      [XFRM]: beet: fix pseudo header length value
      [TCP]: Congestion control initialization.
    Linus Torvalds committed Apr 25, 2007
Commits on Apr 24, 2007
  1. @davem330

    [BNX2]: Fix occasional NETDEV WATCHDOG on 5709.

    Tweak a register setting to prevent the tx mailbox from halting.
    
    Update version to 1.5.8.
    
    Signed-off-by: Michael Chan <mchan@broadcom.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Michael Chan committed with davem330 Apr 24, 2007
  2. @davem330

    [IPV6]: Disallow RH0 by default.

    A security issue is emerging.  Disallow Routing Header Type 0 by default
    as we have been doing for IPv4.
    Note: We allow RH2 by default because it is harmless.
    
    Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    YOSHIFUJI Hideaki committed with davem330 Apr 24, 2007
  3. @ralfbaechle

    [MIPS] Fix oprofile logic to physical counter remapping

    This did cause oprofile to fail on non-multithreaded systems with more
    than 2 processors such as the BCM1480.
    
    Reported by Manish Lachwani (mlachwani@mvista.com).
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ralfbaechle committed Apr 24, 2007
  4. Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/ker…

    …nel/git/jgarzik/netdev-2.6
    
    * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
      drivers/net/hamradio/baycom_ser_fdx build fix
      usb-net/pegasus: fix pegasus carrier detection
      sis900: Allocate rx replacement buffer before rx operation
      [netdrvr] depca: handle platform_device_add() failure
    Linus Torvalds committed Apr 24, 2007
  5. drivers/net/hamradio/baycom_ser_fdx build fix

    sparc64:
    
    drivers/net/hamradio/baycom_ser_fdx.c: In function `ser12_open':
    drivers/net/hamradio/baycom_ser_fdx.c:417: error: `NR_IRQS' undeclared (first us
    e in this function)
    drivers/net/hamradio/baycom_ser_fdx.c:417: error: (Each undeclared identifier is
     reported only once
    drivers/net/hamradio/baycom_ser_fdx.c:417: error: for each function it appears i
    n.)
    
    Cc: Folkert van Heusden <folkert@vanheusden.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
    Andrew Morton committed with Jeff Garzik Apr 24, 2007
  6. @dcbw

    usb-net/pegasus: fix pegasus carrier detection

    Broken by 4a1728a which switched the
    return semantics of read_mii_word() but didn't fix usage of
    read_mii_word() to conform to the new semantics.
    
    Setting carrier to off based on the NO_CARRIER flag is also incorrect as
    that flag only triggers on TX failure and therefore isn't correct when
    no frames are being transmitted.  Since there is already a 2*HZ MII
    carrier check going on, defer to that.
    
    Add a TRUST_LINK_STATUS feature flag for adapters where the LINK_STATUS
    flag is actually correct, and use that rather than the NO_CARRIER flag.
    
    Signed-off-by: Dan Williams <dcbw@redhat.com>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
    dcbw committed with Jeff Garzik Apr 24, 2007
  7. sis900: Allocate rx replacement buffer before rx operation

    	The sis900 driver appears to have a bug in which the receive routine
    passes the skbuff holding the received frame to the network stack before
    refilling the buffer in the rx ring.  If a new skbuff cannot be allocated, the
    driver simply leaves a hole in the rx ring, which causes the driver to stop
    receiving frames and become non-recoverable without an rmmod/insmod according to
    reporters.  This patch reverses that order, attempting to allocate a replacement
    buffer first, and receiving the new frame only if one can be allocated.  If no
    skbuff can be allocated, the current skbuf in the rx ring is recycled, dropping
    the current frame, but keeping the NIC operational.
    
    Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
    Neil Horman committed with Jeff Garzik Apr 20, 2007
  8. [netdrvr] depca: handle platform_device_add() failure

    The following patch fixes a kernel bug in depca_platform_probe().
    
    We don't use a dynamic pointer for pldev->dev.platform_data, so it seems
    that the correct way to proceed if platform_device_add(pldev) fails is
    to explicitly set the pldev->dev.platform_data pointer to NULL, before
    calling the platform_device_put(pldev), or it will be kfree'ed by
    platform_device_release().
    
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
    Andrea Righi committed with Jeff Garzik Apr 24, 2007
  9. Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/li…

    …nux-2.6
    
    * 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6:
      [PATCH] i386: Fix some warnings added by earlier patch
      [PATCH] x86-64: Always flush all pages in change_page_attr
      [PATCH] x86: Remove noreplacement option
      [PATCH] x86-64: make GART PTEs uncacheable
    Linus Torvalds committed Apr 24, 2007
  10. Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6

    * master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6:
      Revert "adjust legacy IDE resource setting (v2)"
    Linus Torvalds committed Apr 24, 2007
  11. 8250: fix possible deadlock between serial8250_handle_port() and seri…

    …al8250_interrupt()
    
    Commit 40b36da introduced possibility that serial8250_backup_timeout() ->
    serial8250_handle_port() locks port.lock without disabling irqs, thus
    allowing deadlock against interrupt handler (port.lock is acquired in
    serial8250_interrupt()).
    
    Spotted by lockdep.
    
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
    Cc: Dave Jones <davej@codemonkey.org.uk>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Cc: Alex Williamson <alex.williamson@hp.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Jiri Kosina committed with Linus Torvalds Apr 23, 2007
  12. @mita

    fault injection: add entry to MAINTAINERS

    Add maintainer for fault injection support.
    
    Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    mita committed with Linus Torvalds Apr 23, 2007
  13. @jirislaby

    Char: icom, mark __init as __devinit

    Two functions are called from __devinit context, but they are marked as
    __init. Fix this.
    
    Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jirislaby committed with Linus Torvalds Apr 23, 2007
  14. @jeffmahoney

    reiserfs: fix xattr root locking/refcount bug

    The listxattr() and getxattr() operations are only protected by a read
    lock.  As a result, if either of these operations run in parallel, a race
    condition exists where the xattr_root will end up being cached twice, which
    results in the leaking of a reference and a BUG() on umount.
    
    This patch refactors get_xa_root(), __get_xa_root(), and create_xa_root(),
    into one get_xa_root() function that takes the appropriate locking around
    the entire critical section.
    
    Reported, diagnosed and tested by Andrea Righi <a.righi@cineca.it>
    
    Signed-off-by: Jeff Mahoney <jeffm@suse.com>
    Cc: Andrea Righi <a.righi@cineca.it>
    Cc: "Vladimir V. Saveliev" <vs@namesys.com>
    Cc: Edward Shishkin <edward@namesys.com>
    Cc: Alex Zarochentsev <zam@namesys.com>
    Cc: <stable@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jeffmahoney committed with Linus Torvalds Apr 23, 2007
  15. hwmon/w83627ehf: Don't redefine REGION_OFFSET

    On ia64, kernel headers define REGION_OFFSET so we can't use that.
    Reported by Andrew Morton.
    
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Acked-by: David Hubbard <david.c.hubbard@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Jean Delvare committed with Linus Torvalds Apr 23, 2007
  16. @olafhering

    do not truncate irq number for icom adapter

    irq values are u32, not u8. Large irq numbers will be truncated,
    free_irq may free a different irq.
    
    Remove incorrectly sized struct member and use the one from pci_dev.
    
    Signed-off-by: Olaf Hering <olaf@aepfle.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    olafhering committed with Linus Torvalds Apr 23, 2007
  17. Allow reading tainted flag as user

    The commit 34f5a39 restricted reading
    of the tainted value. The attached patch changes this back to a
    write-only check and restores the read behaviour of older versions.
    
    Signed-off-by: Bastian Blank <bastian@waldi.eu.org>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Bastian Blank committed with Linus Torvalds Apr 23, 2007
  18. acpi-thermal: fix mod_timer() interval

    Use relative time, not absolute.  Discovered by Jung-Ik (John) Lee
    <jilee@google.com>.
    
    Cc: Jung-Ik (John) Lee <jilee@google.com>
    Acked-by: Len Brown <lenb@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Andrew Morton committed with Linus Torvalds Apr 23, 2007
  19. @lionkov

    v9fs: don't use primary fid when removing file

    v9fs_insert uses v9fs_fid_lookup (which also locks the fid) to get the
    primary fid associated with the dentry and destroys the v9fs_fid struct
    after removing the file.  If another process called v9fs_fid_lookup on the
    same dentry, it may wait undefinitely for the fid's lock (as the struct is
    freed).
    
    This patch changes v9fs_remove to use a cloned fid, so the primary fid is
    not locked and freed.
    
    Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
    Cc: Eric Van Hensbergen <ericvh@hera.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    lionkov committed with Linus Torvalds Apr 23, 2007
  20. ieee1394: update MAINTAINERS database

      - update Ben's address
      - replace Ben's contact by mine as raw1394's 2nd contact
      - eth1394's and pcilynx's maintenance doesn't really differ from that
        of other parts of the stack like video1394
    
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Acked-by: Ben Collins <ben.collins@ubuntu.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Stefan Richter committed with Linus Torvalds Apr 23, 2007
  21. page migration: fix NR_FILE_PAGES accounting

    NR_FILE_PAGES must be accounted for depending on the zone that the page
    belongs to.  If we replace the page in the radix tree then we may have to
    shift the count to another zone.
    
    Suggested-by: Ethan Solomita <solo@google.com>
    Eventually-typed-in-by: Christoph Lameter <clameter@sgi.com>
    Cc: Martin Bligh <mbligh@mbligh.org>
    Cc: <stable@kernel.org>
    Signed-off-by: Christoph Lameter <clameter@sgi.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Christoph Lameter committed with Linus Torvalds Apr 23, 2007
  22. Fix spelling in drivers/video/Kconfig

    Signed-off-by: Miguel Ojeda Sandonis <maxextreme@gmail.com>
    Cc: "Antonino A. Daplas" <adaplas@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Miguel Ojeda committed with Linus Torvalds Apr 23, 2007
  23. Add mbuesch to .mailmap

    Signed-off-by: Michael Buesch <mb@bu3sch.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Michael Buesch committed with Linus Torvalds Apr 23, 2007
  24. paride drivers: initialize spinlocks

    pcd_lock and pf_spin_lock are passed to blk_init_queue() which, seeing them
    as valid lock pointer, sets it as ->queue_lock.
    
    The problem is that pcd_lock and pf_spin_lock aren't initialized anywhere.
    
    Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
    Cc: Jens Axboe <jens.axboe@oracle.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Alexey Dobriyan committed with Linus Torvalds Apr 23, 2007