1. 24 8月, 2005 3 次提交
    • D
      [IPV4]: Fix negative timer loop with lots of ipv4 peers. · 1344a416
      Dave Johnson 提交于
      From: Dave Johnson <djohnson+linux-kernel@sw.starentnetworks.com>
      
      Found this bug while doing some scaling testing that created 500K inet
      peers.
      
      peer_check_expire() in net/ipv4/inetpeer.c isn't using inet_peer_gc_mintime
      correctly and will end up creating an expire timer with less than the
      minimum duration, and even zero/negative if enough active peers are
      present.
      
      If >65K peers, the timer will be less than inet_peer_gc_mintime, and with
      >70K peers, the timer duration will reach zero and go negative.
      
      The timer handler will continue to schedule another zero/negative timer in
      a loop until peers can be aged.  This can continue for at least a few
      minutes or even longer if the peers remain active due to arriving packets
      while the loop is occurring.
      
      Bug is present in both 2.4 and 2.6.  Same patch will apply to both just
      fine.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1344a416
    • H
      [RPC]: Kill bogus kmap in krb5 · c3a20692
      Herbert Xu 提交于
      While I was going through the crypto users recently, I noticed this
      bogus kmap in sunrpc.  It's totally unnecessary since the crypto
      layer will do its own kmap before touching the data.  Besides, the
      kmap is throwing the return value away.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c3a20692
    • D
      [TCP]: Do TSO deferral even if tail SKB can go out now. · 14869c38
      Dmitry Yusupov 提交于
      If the tail SKB fits into the window, it is still
      benefitical to defer until the goal percentage of
      the window is available.  This give the application
      time to feed more data into the send queue and thus
      results in larger TSO frames going out.
      
      Patch from Dmitry Yusupov <dima@neterion.com>.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      14869c38
  2. 21 8月, 2005 6 次提交
  3. 20 8月, 2005 14 次提交
  4. 19 8月, 2005 17 次提交