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

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

More information about the Commits mailing list