cvs commit: src/sys/dev/netif/dc if_dc.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Aug 5 04:33:25 PDT 2008


sephe       2008/08/05 04:30:33 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_2_0)
    sys/dev/netif/dc     if_dc.c 
  Log:
  MFC: if_dc.c rev1.57
    - In dc_intr(), check IFF_RUNNING instead of IFF_UP; this closes a possible
      time window between IFF_UP is set but not IFF_RUNNING.
    - In dc_ioctl(), don't program multicast filter, if NIC is not running yet.
      Add assertion in Xircom's multicast filter programming function to make
      sure that NIC is running.
    - Don't set IFF_RUNNING in Xircom's multicast filter programming function.
    - Move setting IFF_RUNNING before programming multicast filter; just to keep
      the IFF_RUNNING assertion work.  Add comment about it
  
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1106>
    Tested-by: Tim <t-df at timdarby.net>
  
  Revision  Changes    Path
  1.56.2.1  +13 -10    src/sys/dev/netif/dc/if_dc.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/dc/if_dc.c.diff?r1=1.56&r2=1.56.2.1&f=u





More information about the Commits mailing list