1. 18 8月, 2006 2 次提交
  2. 14 8月, 2006 5 次提交
  3. 08 8月, 2006 2 次提交
  4. 05 8月, 2006 1 次提交
  5. 03 8月, 2006 9 次提交
  6. 26 7月, 2006 2 次提交
  7. 25 7月, 2006 4 次提交
  8. 22 7月, 2006 3 次提交
  9. 15 7月, 2006 1 次提交
  10. 13 7月, 2006 3 次提交
    • H
      [IPV4]: Fix error handling for fib_insert_node call · b47b2ec1
      Herbert Xu 提交于
      The error handling around fib_insert_node was broken because we always
      zeroed the error before checking it.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b47b2ec1
    • H
      [IPCOMP]: Fix truesize after decompression · da952315
      Herbert Xu 提交于
      The truesize check has uncovered the fact that we forgot to update truesize
      after pskb_expand_head.  Unfortunately pskb_expand_head can't update it for
      us because it's used in all sorts of different contexts, some of which would
      not allow truesize to be updated by itself.
      
      So the solution for now is to simply update it in IPComp.
      
      This patch also changes skb_put to __skb_put since we've just expanded
      tailroom by exactly that amount so we know it's there (but gcc does not).
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      da952315
    • X
      [TCP] tcp_highspeed: Fix AI updates. · 6150c22e
      Xiaoliang (David) Wei 提交于
      I think there is still a problem with the AIMD parameter update in
      HighSpeed TCP code.
      
      Line 125~138 of the code (net/ipv4/tcp_highspeed.c):
      
      	/* Update AIMD parameters */
      	if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) {
      		while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd &&
      		       ca->ai < HSTCP_AIMD_MAX - 1)
      			ca->ai++;
      	} else if (tp->snd_cwnd < hstcp_aimd_vals[ca->ai].cwnd) {
      		while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd &&
      		       ca->ai > 0)
      			ca->ai--;
      
      In fact, the second part (decreasing ca->ai) never decreases since the
      while loop's inequality is in the reverse direction. This leads to
      unfairness with multiple flows (once a flow happens to enjoy a higher
      ca->ai, it keeps enjoying that even its cwnd decreases)
      
      Here is a tentative fix (I also added a comment, trying to keep the
      change clear):
      Acked-by: NStephen Hemminger <shemminger@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6150c22e
  11. 11 7月, 2006 2 次提交
  12. 09 7月, 2006 3 次提交
  13. 04 7月, 2006 3 次提交