Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2010 21:08:38 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/fxp if_fxp.c
Message-ID:  <201005192108.o4JL8q76098902@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-05-19 21:08:38 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/dev/fxp          if_fxp.c 
  Log:
  SVN rev 208316 on 2010-05-19 21:08:38Z by yongari
  
  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>
  
  Revision   Changes    Path
  1.295.2.8  +7 -2      src/sys/dev/fxp/if_fxp.c



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