You need to sign in or sign up before continuing.
  1. 26 4月, 2007 11 次提交
  2. 08 3月, 2007 1 次提交
  3. 11 2月, 2007 2 次提交
  4. 09 2月, 2007 1 次提交
  5. 23 12月, 2006 1 次提交
    • D
      [UDP]: Fix reversed logic in udp_get_port(). · 5c668704
      David S. Miller 提交于
      When this code was converted to use sk_for_each() the
      logic for the "best hash chain length" code was reversed,
      breaking everything.
      
      The original code was of the form:
      
      			size = 0;
      			do {
      				if (++size >= best_size_so_far)
      					goto next;
      			} while ((sk = sk->next) != NULL);
      			best_size_so_far = size;
      			best = result;
      		next:;
      
      and this got converted into:
      
      			sk_for_each(sk2, node, head)
      				if (++size < best_size_so_far) {
      					best_size_so_far = size;
      					best = result;
      				}
      
      Which does something very very different from the original.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5c668704
  6. 03 12月, 2006 7 次提交
  7. 26 11月, 2006 1 次提交
  8. 04 10月, 2006 1 次提交
  9. 29 9月, 2006 2 次提交
  10. 23 9月, 2006 6 次提交
  11. 22 7月, 2006 1 次提交
  12. 01 7月, 2006 1 次提交
  13. 21 3月, 2006 2 次提交
  14. 08 1月, 2006 1 次提交
  15. 04 1月, 2006 2 次提交