1. 27 May, 2007 1 commit
  2. 25 May, 2007 2 commits
  3. 23 May, 2007 10 commits
  4. 22 May, 2007 13 commits
  5. 21 May, 2007 14 commits
    • Auke Kok's avatar
      Add constant for FCS/CRC length (frame check sequence) · 2053ed02
      Auke Kok authored
      About a dozen drivers that have some form of crc checksumming or offloading
      use this constant, warranting a global define for it.
      Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      2053ed02
    • Maciej W. Rozycki's avatar
      declance: Remove a dangling spin_unlock_irq() thingy · f1e9a4ea
      Maciej W. Rozycki authored
       The spin_unlock_irq() invocation in lance_start_xmit() has no matching
      locking request.  The call is already protected by netif_tx_lock, so
      remove the statement.
      Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      f1e9a4ea
    • Auke Kok's avatar
      e1000: Don't enable polling in open() (was: e1000: assertion hit in e1000_clean(), kernel 2.6.21.1) · 3e1657c8
      Auke Kok authored
      Herbert Xu wrote:
      "netif_poll_enable can only be called if you've previously called
      netif_poll_disable.  Otherwise a poll might already be in action
      and you may get a crash like this."
      
      Removing the call to netif_poll_enable in e1000_open should fix this issue,
      the only other call to netif_poll_enable is in e1000_up() which is only
      reached after a device reset or resume.
      
      Bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=8455
      https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240339
      
      Tested by Doug Chapman <doug.chapman@hp.com>
      Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      3e1657c8
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband · 8aee74c8
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
        IB/cm: Improve local id allocation
        IPoIB/cm: Fix SRQ WR leak
        IB/ipoib: Fix typos in error messages
        IB/mlx4: Check if SRQ is full when posting receive
        IB/mlx4: Pass send queue sizes from userspace to kernel
        IB/mlx4: Fix check of opcode in mlx4_ib_post_send()
        mlx4_core: Fix array overrun in dump_dev_cap_flags()
        IB/mlx4: Fix RESET to RESET and RESET to ERROR transitions
        IB/mthca: Fix RESET to ERROR transition
        IB/mlx4: Set GRH:HopLimit when sending globally routed MADs
        IB/mthca: Set GRH:HopLimit when building MLX headers
        IB/mlx4: Fix check of max_qp_dest_rdma in modify QP
        IB/mthca: Fix use-after-free on device restart
        IB/ehca: Return proper error code if register_mr fails
        IPoIB: Handle P_Key table reordering
        IB/core: Use start_port() and end_port()
        IB/core: Add helpers for uncached GID and P_Key searches
        IB/ipath: Fix potential deadlock with multicast spinlocks
        IB/core: Free umem when mm is already gone
      8aee74c8
    • Michael S. Tsirkin's avatar
      IB/cm: Improve local id allocation · 9f81036c
      Michael S. Tsirkin authored
      The IB CM uses an idr for local id allocations, with a running counter
      as start_id.  This fails to generate distinct ids if
      
      1. An id is constantly created and destroyed
      2. A chunk of ids just beyond the current next_id value is occupied
      
      This in turn leads to an increased chance of connection request being
      mis-detected as a duplicate, sometimes for several retries, until
      next_id gets past the block of allocated ids. This has been observed
      in practice.
      
      As a fix, remember the last id allocated and start immediately above it.
      This also fixes a problem with the old code, where next_id might
      overflow and become negative.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Acked-by: default avatarSean Hefty <sean.hefty@intel.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      9f81036c
    • Michael S. Tsirkin's avatar
      IPoIB/cm: Fix SRQ WR leak · 518b1646
      Michael S. Tsirkin authored
      SRQ WR leakage has been observed with IPoIB/CM: e.g. flipping ports on
      and off will, with time, leak out all WRs and then all connections
      will start getting RNR NAKs.  Fix this in the way suggested by spec:
      move the QP being destroyed to the error state, wait for "Last WQE
      Reached" event and then post WR on a "drain QP" connected to the same
      CQ.  Once we observe a completion on the drain QP, it's safe to call
      ib_destroy_qp.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      518b1646
    • Michael S. Tsirkin's avatar
      IB/ipoib: Fix typos in error messages · 24bd1e4e
      Michael S. Tsirkin authored
      Trivial error message fixups.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      24bd1e4e
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix · 080e8927
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix:
        mm/slab: fix section mismatch warning
        mm: fix section mismatch warnings
        init/main: use __init_refok to fix section mismatch
        kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings
        all-archs: consolidate .data section definition in asm-generic
        all-archs: consolidate .text section definition in asm-generic
        kbuild: add "Section mismatch" warning whitelist for powerpc
        kbuild: make better section mismatch reports on i386, arm and mips
        kbuild: make modpost section warnings clearer
        kconfig: search harder for curses library in check-lxdialog.sh
        kbuild: include limits.h in sumversion.c for PATH_MAX
        powerpc: Fix the MODALIAS generation in modpost for of devices
      080e8927
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 4b85df04
      Linus Torvalds authored
      * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [S390] More verbose show_mem() like other architectures.
        [S390] Make use of kretprobe_assert.
        [S390] Wire up signald, timerfd and eventfd syscalls.
        [S390] Wire up sys_utimensat.
        [S390] cio: Update documentation.
      4b85df04
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 6044ab32
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [NET]: Fix race condition about network device name allocation.
        [IPV4]: icmp: fix crash with sysctl_icmp_errors_use_inbound_ifaddr
        [NETFILTER]: nf_conntrack_ipv4: fix incorrect #ifdef config name
        [NETFILTER]: nf_conntrack: fix use-after-free in helper destroy callback invocation
        [IPSEC] pfkey: Load specific algorithm in pfkey_add rather than all
        [TCP] FRTO: Prevent state inconsistency in corner cases
        [TCP] FRTO: Add missing ECN CWR sending to one of the responses
        [NET]: Fix net/core/skbuff.c gcc-3.2.3 compilation error
        [RFKILL]: Fix check for correct rfkill allocation
        [IPV6]: Add ip6_tunnel.h to headers_install
      6044ab32
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · d07b3c25
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm: (22 commits)
        [ARM] spelling fixes
        [ARM] at91_adc parenthesis balance
        [ARM] 4400/1: S3C24XX: Add high-speed MMC device definition
        [ARM] 4399/2: S3C2443: Fix SMDK2443 nand timings
        [ARM] 4398/1: S3C2443: Fix watchdog IRQ number
        [ARM] 4397/1: S3C2443: remove SDI0/1 IRQ ambiguity
        [ARM] 4396/1: S3C2443: Add missing HCLK clocks
        [ARM] 4395/1: S3C24XX: add include of <linux/sysdev.h> to relevant machines
        [ARM] 4388/1: no need for arm/mm mmap range checks for non-mmu
        [ARM] 4387/1: fix /proc/cpuinfo formatting for pre-ARM7 parts
        [ARM] ARMv6: add CPU_HAS_ASID configuration
        [ARM] integrator: fix pci_v3 compile error with DEBUG_LL
        [ARM] gic: Fix gic cascade irq handling
        [ARM] Silence OMAP kernel configuration warning
        [ARM] Update ARM syscalls
        [ARM] 4384/1: S3C2412/13 SPI registers offset correction
        [ARM] 4383/1: iop: fix usage of '__init' and 'inline' in iop files
        [ARM] 4382/1: iop13xx: fix msi support
        [ARM] Remove Integrator/CP SMP platform support
        [ARM] 4378/1: KS8695: Serial driver fix
        ...
      d07b3c25
    • Anton Altaparmakov's avatar
      LDM: Fix for Windows Vista dynamic disks · dde33348
      Anton Altaparmakov authored
      This fixes the LDM driver so that it works with Windows Vista dynamic
      disks which are subtly different to Windows 2000/XP ones.
      
      The patch was needed to get a Vista formatted dynamic disk to be
      recognized and parsed successfully.
      
      Thanks go to Chris Teachworth for the report and testing.
      
      Cc: Richard Russon <ldm@flatcap.org>
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      dde33348
    • Brian Gerst's avatar
      i386: fix PGE mask · 17304383
      Brian Gerst authored
      cr4 is a 32-bit register, so casting the mask to an unsigned char is wrong,
      as it clears more than the PGE bit.
      Signed-off-by: default avatarBrian Gerst <bgerst@didntduck.org>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      17304383
    • john stultz's avatar
      x86_64: vsyscall time() fix · d0aff6e6
      john stultz authored
      The vsyscall time() function basically returns the second portion of
      xtime directly.  This however means that there is about a ticks worth of
      time each second where time() will return a second value less then what
      gettimeofday() does.
      
      Additionally, this window where vtime() is behind vgettimeofday() grows
      when dynticks is enabled, so its probably good to get this in before
      dynticks lands.
      
      Big thanks to Sripathi for noticing this issue and creating a test case
      to work with!
      
      This patch changes the vtime() implemenation to call vgettimeofday(),
      much as syscall time() implementation calls gettimeofday().
      
      2.6.21 stable candidate too
      Signed-off-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d0aff6e6