cvs commit: src/sys/dev/netif/bge if_bge.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Oct 28 05:33:09 PDT 2006


sephe       2006/10/28 05:28:25 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/bge    if_bge.c 
  Log:
  Bug fixing:
  device_delete_child() is called unconditionally in bge_detach(), due to the
  ';' after 'if()'.  It is dangerous here, since bge_detach() serves as failure
  cleanup routine too.
  
  Revision  Changes    Path
  1.57      +1 -1      src/sys/dev/netif/bge/if_bge.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.56&r2=1.57&f=u





More information about the Commits mailing list