1. 31 10月, 2007 2 次提交
    • D
      [NET]: Fix incorrect sg_mark_end() calls. · 51c739d1
      David S. Miller 提交于
      This fixes scatterlist corruptions added by
      
      	commit 68e3f5dd
      	[CRYPTO] users: Fix up scatterlist conversion errors
      
      The issue is that the code calls sg_mark_end() which clobbers the
      sg_page() pointer of the final scatterlist entry.
      
      The first part fo the fix makes skb_to_sgvec() do __sg_mark_end().
      
      After considering all skb_to_sgvec() call sites the most correct
      solution is to call __sg_mark_end() in skb_to_sgvec() since that is
      what all of the callers would end up doing anyways.
      
      I suspect this might have fixed some problems in virtio_net which is
      the sole non-crypto user of skb_to_sgvec().
      
      Other similar sg_mark_end() cases were converted over to
      __sg_mark_end() as well.
      
      Arguably sg_mark_end() is a poorly named function because it doesn't
      just "mark", it clears out the page pointer as a side effect, which is
      what led to these bugs in the first place.
      
      The one remaining plain sg_mark_end() call is in scsi_alloc_sgtable()
      and arguably it could be converted to __sg_mark_end() if only so that
      we can delete this confusing interface from linux/scatterlist.h
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      51c739d1
    • D
      [IPV6]: remove duplicate call to proc_net_remove · 1675c7b2
      Daniel Lezcano 提交于
      The file /proc/net/if_inet6 is removed twice.
      First time in:
              inet6_exit
                   ->addrconf_cleanup
      And followed a few lines after by:
              inet6_exit
                   -> if6_proc_exit
      Signed-off-by: NDaniel Lezcano <dlezcano@fr.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1675c7b2
  2. 30 10月, 2007 2 次提交
  3. 27 10月, 2007 3 次提交
  4. 26 10月, 2007 3 次提交
  5. 24 10月, 2007 1 次提交
  6. 22 10月, 2007 1 次提交
  7. 19 10月, 2007 4 次提交
  8. 18 10月, 2007 21 次提交
  9. 16 10月, 2007 3 次提交