Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2006 17:21:09 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_ethersubr.c
Message-ID:  <200603031721.k23HL9mI055942@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
csjp        2006-03-03 17:21:09 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_ethersubr.c 
  Log:
  Unbreak byte counters when network interfaces are in monitor mode by
  re-organizing the monitor return logic. We perform interface monitoring
  checks after we have determined if the CRC is still on the packet, if
  it is, m_adj() is called which will adjust the packet length. This
  ensures that we are not including CRC lengths in the byte counters for
  each packet.
  
  Discussed with: andre, glebius
  
  Revision  Changes    Path
  1.215     +8 -8      src/sys/net/if_ethersubr.c



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