1. 07 9月, 2010 15 次提交
  2. 06 9月, 2010 1 次提交
    • E
      r8169: fix rx checksum offload · adea1ac7
      Eric Dumazet 提交于
      While porting GRO to r8169, I found this driver has a bug in its rx
      path.
      
      All skbs given to network stack had their ip_summed set to
      CHECKSUM_NONE, while hardware said they had correct TCP/UDP checksums.
      
      The reason is driver sets skb->ip_summed on the original skb before the
      copy eventually done by copybreak. The fresh skb gets the ip_summed =
      CHECKSUM_NONE value, forcing network stack to recompute checksum, and
      preventing my GRO patch to work.
      
      Fix is to make the ip_summed setting after skb copy.
      
      Note : rx_copybreak current value is 16383, so all frames are copied...
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Acked-by: NFrancois Romieu <romieu@fr.zoreil.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      adea1ac7
  3. 04 9月, 2010 9 次提交
  4. 03 9月, 2010 9 次提交
  5. 02 9月, 2010 6 次提交