1. 15 3月, 2011 2 次提交
  2. 14 3月, 2011 3 次提交
  3. 13 3月, 2011 1 次提交
  4. 11 3月, 2011 2 次提交
  5. 10 3月, 2011 8 次提交
  6. 08 3月, 2011 3 次提交
    • A
      unfuck proc_sysctl ->d_compare() · dfef6dcd
      Al Viro 提交于
      a) struct inode is not going to be freed under ->d_compare();
      however, the thing PROC_I(inode)->sysctl points to just might.
      Fortunately, it's enough to make freeing that sucker delayed,
      provided that we don't step on its ->unregistering, clear
      the pointer to it in PROC_I(inode) before dropping the reference
      and check if it's NULL in ->d_compare().
      
      b) I'm not sure that we *can* walk into NULL inode here (we recheck
      dentry->seq between verifying that it's still hashed / fetching
      dentry->d_inode and passing it to ->d_compare() and there's no
      negative hashed dentries in /proc/sys/*), but if we can walk into
      that, we really should not have ->d_compare() return 0 on it!
      Said that, I really suspect that this check can be simply killed.
      Nick?
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      dfef6dcd
    • Y
      net: add ndo_fcoe_ddp_target() to support FCoE DDP in target mode · 6247e086
      Yi Zou 提交于
      The Fiber Channel over Ethernet (FCoE) Direct Data Placement (DDP) can also be
      used for FCoE target, where the DDP used for read I/O on an initiator can be
      used on an FCoE target to speed up the write I/O to the target from the initiator.
      The added ndo_fcoe_ddp_target() works in the similar way as the existing
      ndo_fcoe_ddp_setup() to allow the underlying hardware set up the DDP context
      accordingly when it gets called from the FCoE target implementation on top
      the existing Open-FCoE fcoe/libfc protocol stack so without losing the ability
      to provide DDP for read I/O as an initiator, it can also provide DDP offload
      to the write I/O coming from the initiator as a target.
      Signed-off-by: NYi Zou <yi.zou@intel.com>
      Signed-off-by: NKiran Patil <kiran.patil@intel.com>
      Tested-by: NKavindya Deegala <kavindya.s.deegala@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      6247e086
    • J
      netdevice: Convert printk to pr_info in netif_tx_stop_queue · 256ee435
      Joe Perches 提交于
      This allows any caller to be prefaced by any specific
      pr_fmt to better identify which device driver is using
      this function inappropriately.
      
      Add terminating newline.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      256ee435
  7. 05 3月, 2011 5 次提交
  8. 04 3月, 2011 2 次提交
  9. 03 3月, 2011 4 次提交
  10. 02 3月, 2011 4 次提交
  11. 01 3月, 2011 1 次提交
    • R
      ACPI: Fix build for CONFIG_NET unset · af06216a
      Rafael J. Wysocki 提交于
      Several ACPI drivers fail to build if CONFIG_NET is unset, because
      they refer to things depending on CONFIG_THERMAL that in turn depends
      on CONFIG_NET.  However, CONFIG_THERMAL doesn't really need to depend
      on CONFIG_NET, because the only part of it requiring CONFIG_NET is
      the netlink interface in thermal_sys.c.
      
      Put the netlink interface in thermal_sys.c under #ifdef CONFIG_NET
      and remove the dependency of CONFIG_THERMAL on CONFIG_NET from
      drivers/thermal/Kconfig.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Luming Yu <luming.yu@intel.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      af06216a
  12. 28 2月, 2011 1 次提交
  13. 26 2月, 2011 1 次提交
  14. 25 2月, 2011 3 次提交