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

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


sephe       2008/08/05 04:23:01 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/dc     if_dc.c 
  Log:
  - 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.57      +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.57&f=u





More information about the Commits mailing list