Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2010 22:18:41 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/msk if_msk.c
Message-ID:  <201012312218.oBVMIuBv082967@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

yongari     2010-12-31 22:18:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/msk          if_msk.c 
  Log:
  SVN rev 216860 on 2010-12-31 22:18:41Z by yongari
  
  Fix endianness bug introduced in r205091.
  After controller updates control word in a RX LE, driver converts
  it to host byte order. The checksum value in the control word is
  stored in big endian form by controller. r205091 didn't account for
  the host byte order conversion such that the checksum value was
  incorrectly interpreted on big endian architectures which in turn
  made all TCP/UDP frames dropped. Make RX checksum offload work
  on any architectures by swapping the checksum value.
  
  Reported by:    Sreekanth M. ( kanthms <> netlogicmicro dot com )
  Tested by:      Sreekanth M. ( kanthms <> netlogicmicro dot com )
  
  Revision  Changes    Path
  1.104     +1 -1      src/sys/dev/msk/if_msk.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012312218.oBVMIuBv082967>