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

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


sephe       2006/10/28 05:33:47 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_6)
    sys/dev/netif/bge    if_bge.c 
  Log:
  MFC rev1.57
    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.53.2.1  +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.53&r2=1.53.2.1&f=u





More information about the Commits mailing list