1. 26 4月, 2007 6 次提交
  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 3 次提交
  16. 11 11月, 2005 1 次提交
    • H
      [NET]: Detect hardware rx checksum faults correctly · fb286bb2
      Herbert Xu 提交于
      Here is the patch that introduces the generic skb_checksum_complete
      which also checks for hardware RX checksum faults.  If that happens,
      it'll call netdev_rx_csum_fault which currently prints out a stack
      trace with the device name.  In future it can turn off RX checksum.
      
      I've converted every spot under net/ that does RX checksum checks to
      use skb_checksum_complete or __skb_checksum_complete with the
      exceptions of:
      
      * Those places where checksums are done bit by bit.  These will call
      netdev_rx_csum_fault directly.
      
      * The following have not been completely checked/converted:
      
      ipmr
      ip_vs
      netfilter
      dccp
      
      This patch is based on patches and suggestions from Stephen Hemminger
      and David S. Miller.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fb286bb2
  17. 09 9月, 2005 1 次提交
  18. 30 8月, 2005 2 次提交