1. 21 9月, 2011 3 次提交
  2. 20 9月, 2011 16 次提交
  3. 19 9月, 2011 10 次提交
  4. 18 9月, 2011 9 次提交
  5. 17 9月, 2011 2 次提交
    • Y
      ipv6: don't use inetpeer to store metrics for routes. · 8e2ec639
      Yan, Zheng 提交于
      Current IPv6 implementation uses inetpeer to store metrics for
      routes. The problem of inetpeer is that it doesn't take subnet
      prefix length in to consideration. If two routes have the same
      address but different prefix length, they share same inetpeer.
      So changing metrics of one route also affects the other. The
      fix is to allocate separate metrics storage for each route.
      Signed-off-by: NZheng Yan <zheng.z.yan@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8e2ec639
    • N
      iscsi-target: Fix sendpage breakage with proper padding+DataDigest iovec offsets · 40b05497
      Nicholas Bellinger 提交于
      This patch fixes a bug in the iscsit_fe_sendpage_sg() transmit codepath that
      was originally introduced with the v3.1 iscsi-target merge that incorrectly
      uses hardcoded cmd->iov_data_count values to determine cmd->iov_data[] offsets
      for extra outgoing padding and DataDigest payload vectors.
      
      This code is obviously incorrect for the DataDigest enabled case with sendpage
      offload, and this fix ensures correct operation for padding + DataDigest,
      padding only, and DataDigest only cases.  The bug was introduced during a
      pre-merge change in iscsit_fe_sendpage_sg() to natively use struct scatterlist
      instead of the legacy v3.0 struct se_mem logic.
      
      Cc: Andy Grover <agrover@redhat.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      40b05497