DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/net

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Nov 2004 02:28:48 -0800 (PST)

joerg       2004/11/08 02:28:48 PST

DragonFly src repository

  Modified files:
    sys/net              if_ethersubr.c 
  Fix a race condition in detach path of Ethernet devices. Most current
  drivers do something like this:
  /* continue and assume device is dead now */
  This doesn't work in many cases if a BPF user is left and IFF_PROMISC is
  active, because bpfdetach does a reset of the timer for many drivers.
  The fix is to move the call to if_down into ether_ifdetach, which gives
  the expected behaviour.
  Revision  Changes    Path
  1.19      +6 -0      src/sys/net/if_ethersubr.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]