cvs commit: src/sys/dev/netif/re if_re.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 25 11:36:10 PST 2005


dillon      2005/01/25 11:35:11 PST

DragonFly src repository

  Modified files:
    sys/dev/netif/re     if_re.c 
  Log:
  Disable hardware checksum support by default, it produces packet corruption.
  It is unclear why the corruption occurs, but certain fragmented packets
  consistently reproduce it so there's a good chance that there may be alignment
  or length requirements that we don't know about, or just pure hardware
  brokedness with certain packets.
  
  The checksumming can be turned on again with ifconfig for testing purposes.
  
   EXTRACTION from Aggelos's packet dumps ]
  
  CLIENT:  (RE0)
  
  11:43:27.261710 192.168.2.2.183764104 > 192.168.2.4.nfs: 1472 write [|nfs] (frag 8031:1480 at 0+)
  11:43:27.261718 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 1480+)
  11:43:27.261729 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 2960+)
  11:43:27.261743 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 4440+)
  11:43:27.261756 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 5920+)
  11:43:27.261767 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 7400+)
  11:43:27.261781 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 8880+)
  11:43:27.261793 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 10360+)
  11:43:27.261807 192.168.2.2 > 192.168.2.4: udp (frag 8031:4 at 11840)
  
  SERVER:  (RL0)
  
  13:56:59.783671 192.168.2.2.183764104 > 192.168.2.4.nfs: 1472 write [|nfs] (frag 8031:1480 at 0+)
  13:56:59.783785 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 1480+)
  13:56:59.783915 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 2960+)
  13:56:59.784037 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 4440+)
  13:56:59.784159 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 5920+)
  13:56:59.784283 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 7400+)
  13:56:59.784407 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 8880+)
  13:56:59.784527 192.168.2.2 > 192.168.2.4: udp (frag 8031:1480 at 10360+)
  13:56:59.784532 0.0.0.0 > 0.0.2.4: udp (frag 8031:4 at 11840)
  
  Reported-by: aoiko at xxxxxxxxxxxxxx (Aggelos)
  Note-Also: also turned off in FreeBSD /usr/src/sys/dev/re/if_re.c:1.37
  
  Revision  Changes    Path
  1.7       +11 -1     src/sys/dev/netif/re/if_re.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list