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

Sepherosa Ziehau sephe at
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 
  - 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: <>
  Tested-by: Tim <t-df at>
  Revision  Changes    Path
  1.57      +13 -10    src/sys/dev/netif/dc/if_dc.c

More information about the Commits mailing list