1. 24 7月, 2013 1 次提交
  2. 13 6月, 2013 1 次提交
    • E
      igmp: fix new sparse errors · c70eba74
      Eric Dumazet 提交于
      Fix following sparse errors :
      
      net/ipv4/igmp.c:1222:25: warning: cast from restricted __be32
      net/ipv4/igmp.c:1234:31: warning: incorrect type in assignment (different address spaces)
      net/ipv4/igmp.c:1234:31:    expected struct ip_mc_list [noderef] <asn:4>*next_hash
      net/ipv4/igmp.c:1234:31:    got struct ip_mc_list *<noident>
      net/ipv4/igmp.c:1250:31: warning: incorrect type in assignment (different address spaces)
      net/ipv4/igmp.c:1250:31:    expected struct ip_mc_list [noderef] <asn:4>*next_hash
      net/ipv4/igmp.c:1250:31:    got struct ip_mc_list *<noident>
      net/ipv4/igmp.c:2380:37: warning: cast from restricted __be32
      
      These were added by commit e9897071
      ("igmp: hash a hash table to speedup ip_check_mc_rcu()")
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c70eba74
  3. 12 6月, 2013 2 次提交
  4. 29 5月, 2013 1 次提交
  5. 19 2月, 2013 2 次提交
  6. 02 10月, 2012 1 次提交
  7. 08 9月, 2012 1 次提交
  8. 10 8月, 2012 1 次提交
    • E
      time: jiffies_delta_to_clock_t() helper to the rescue · a399a805
      Eric Dumazet 提交于
      Various /proc/net files sometimes report crazy timer values, expressed
      in clock_t units.
      
      This happens when an expired timer delta (expires - jiffies) is passed
      to jiffies_to_clock_t().
      
      This function has an overflow in :
      
      return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ);
      
      commit cbbc719f (time: Change jiffies_to_clock_t() argument type
      to unsigned long) only got around the problem.
      
      As we cant output negative values in /proc/net/tcp without breaking
      various tools, I suggest adding a jiffies_delta_to_clock_t() wrapper
      that caps the negative delta to a 0 value.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Reported-by: NMaciej Żenczykowski <maze@google.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: hank <pyu@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a399a805
  9. 16 4月, 2012 1 次提交
  10. 05 4月, 2012 1 次提交
  11. 29 3月, 2012 1 次提交
  12. 13 1月, 2012 1 次提交
  13. 10 1月, 2012 1 次提交
  14. 01 12月, 2011 1 次提交
  15. 24 11月, 2011 1 次提交
  16. 19 11月, 2011 1 次提交
    • H
      ipv4: Remove all uses of LL_ALLOCATED_SPACE · 66088243
      Herbert Xu 提交于
      ipv4: Remove all uses of LL_ALLOCATED_SPACE
      
      The macro LL_ALLOCATED_SPACE was ill-conceived.  It applies the
      alignment to the sum of needed_headroom and needed_tailroom.  As
      the amount that is then reserved for head room is needed_headroom
      with alignment, this means that the tail room left may be too small.
      
      This patch replaces all uses of LL_ALLOCATED_SPACE in net/ipv4
      with the macro LL_RESERVED_SPACE and direct reference to
      needed_tailroom.
      
      This also fixes the problem with needed_headroom changing between
      allocating the skb and reserving the head room.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      66088243
  17. 25 8月, 2011 1 次提交
  18. 18 8月, 2011 1 次提交
  19. 02 8月, 2011 1 次提交
  20. 01 8月, 2011 1 次提交
  21. 25 5月, 2011 1 次提交
  22. 08 5月, 2011 3 次提交
  23. 04 5月, 2011 2 次提交
  24. 28 4月, 2011 1 次提交
  25. 13 3月, 2011 1 次提交
  26. 11 3月, 2011 1 次提交
  27. 03 3月, 2011 1 次提交
  28. 19 11月, 2010 2 次提交
  29. 18 11月, 2010 1 次提交
  30. 16 11月, 2010 1 次提交
  31. 13 11月, 2010 1 次提交
  32. 12 11月, 2010 1 次提交
  33. 10 11月, 2010 1 次提交
  34. 19 10月, 2010 1 次提交