1. 02 10月, 2010 3 次提交
  2. 01 10月, 2010 1 次提交
  3. 30 9月, 2010 1 次提交
  4. 29 9月, 2010 7 次提交
  5. 28 9月, 2010 5 次提交
    • G
      hwmon (coretemp): Fix build breakage if SMP is undefined · fff20173
      Guenter Roeck 提交于
      Commit e40cc4bd introduced
      a build breakage if CONFIG_SMP is undefined. This commit
      fixes the problem.
      
      This fix is only a workaround. For a real fix, cpu_sibling_mask() should
      be defined in UP include code, eg in linux/smp.h, and asm/smp.h should not be
      included directly. This fix is currently not possible because asm/smp.h defines
      cpu_sibling_mask() unconditionally and is included directly from many source
      files.
      Reported-by: NIngo Molnar <mingo@elte.hu>
      Tested-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      fff20173
    • D
      Fix pktcdvd ioctl dev_minor range check · 252a52aa
      Dan Rosenberg 提交于
      The PKT_CTRL_CMD_STATUS device ioctl retrieves a pointer to a
      pktcdvd_device from the global pkt_devs array.  The index into this
      array is provided directly by the user and is a signed integer, so the
      comparison to ensure that it falls within the bounds of this array will
      fail when provided with a negative index.
      
      This can be used to read arbitrary kernel memory or cause a crash due to
      an invalid pointer dereference.  This can be exploited by users with
      permission to open /dev/pktcdvd/control (on many distributions, this is
      readable by group "cdrom").
      Signed-off-by: NDan Rosenberg <dan.j.rosenberg@gmail.com>
      [ Rather than add a cast, just make the function take the right type -Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      252a52aa
    • O
      de2104x: fix ethtool · 387a8562
      Ondrej Zary 提交于
      When the interface is up, using ethtool breaks it because:
      a) link is put down but media_timer interval is not shortened to NO_LINK
      b) rxtx is stopped but not restarted
      
      Also manual 10baseT-HD (and probably FD too - untested) mode does not work -
      the link is forced up, packets are transmitted but nothing is received.
      Changing CSR14 value to match documentation (not disabling link check) fixes this.
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Acked-by: NJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      387a8562
    • J
      3c59x: fix regression from patch "Add ethtool WOL support" · 3fd6c88e
      Jan Beulich 提交于
      This patch (commit 690a1f20) added a
      new call site for acpi_set_WOL() without checking that the function is
      actually suitable to be called via
      
       vortex_set_wol+0xcd/0xe0 [3c59x]
       dev_ethtool+0xa5a/0xb70
       dev_ioctl+0x2e0/0x4b0
       T.961+0x49/0x50
       sock_ioctl+0x47/0x290
       do_vfs_ioctl+0x7f/0x340
       sys_ioctl+0x80/0xa0
       system_call_fastpath+0x16/0x1b
      
      i.e. outside of code paths run when the device is not yet enabled or
      already disabled. In particular, putting the device into D3hot is a
      pretty bad idea when it was already brought up.
      
      Furthermore, all prior callers of the function made sure they're
      actually dealing with a PCI device, while the newly added one didn't.
      
      In the same spirit, the .get_wol handler shouldn't indicate support
      for WOL for non-PCI devices.
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3fd6c88e
    • S
      RDMA/cxgb3: Turn off RX coalescing for iWARP connections · bec658ff
      Steve Wise 提交于
      The HW by default has RX coalescing on.  For iWARP connections, this
      causes a 100ms delay in connection establishement due to the ingress
      MPA Start message being stalled in HW.  So explicitly turn RX
      coalescing off when setting up iWARP connections.
      
      This was causing very bad performance for NP64 gather operations using
      Open MPI, due to the way it sets up connections on larger jobs.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bec658ff
  6. 27 9月, 2010 10 次提交
  7. 26 9月, 2010 1 次提交
  8. 25 9月, 2010 12 次提交