cvs commit: src/sys/net if_ethersubr.c

Christian S.J. Peron csjp at FreeBSD.org
Tue May 16 17:09:44 PDT 2006


csjp        2006-05-17 00:09:24 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_ethersubr.c 
  Log:
  MFC revision 1.215
  
  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.
  
  Revision    Changes    Path
  1.193.2.11  +8 -8      src/sys/net/if_ethersubr.c


More information about the cvs-src mailing list