freebsd-dev/sys/dev/fxp
Pyun YongHyeon f37531017a MFC r208084:
If controller received bad frames make sure to update newly added
  RFA. Also drop frames that have either CRC error or alignment
  error. Normally bad frames are not received at all. But controllers
  running in promiscuous mode will receive bad frames. 82557 will
  also receive bad frames to receive VLAN oversized frames.

  While I'm here mark RNR condition if driver happen to see RNR in
  RFA status and restart RU to receive frames again. Because driver
  checks all received frames in RX loop, RNR condition could be set
  in the middle of RX processing. Just relying on RNR interrupt was
  not enough.

  This change fixes "Memory modified after free" issue when fxp(4)
  is running as a member of if_bridge(4).

  Tested by:	Larry Baird <lab <> gta dot com>
2010-05-19 21:08:38 +00:00
..
if_fxp.c MFC r208084: 2010-05-19 21:08:38 +00:00
if_fxpreg.h MFC r207832: 2010-05-17 16:57:55 +00:00
if_fxpvar.h MFC r207832: 2010-05-17 16:57:55 +00:00
rcvbundl.h Add a microcode to implement receive bundling for 82551 chipsets with 2005-04-21 19:34:57 +00:00