cvs commit: src/sys/net if_ethersubr.c

Christian S.J. Peron csjp at FreeBSD.org
Fri Mar 3 09:21:10 PST 2006


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


More information about the cvs-src mailing list