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

cvs commit: src/sys/dev/netif/axe if_axe.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Sep 2005 06:59:27 -0700 (PDT)

sephe       2005/09/09 06:59:27 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/axe    if_axe.c 
  Log:
  In axe_stop(), move axe_reset() after usbd_close_pipe().
  
  usbd_set_config_no() will free `ifaces', which contains header of `pipe's.
  So the `pipe' removal operation in usbd_close_pipe() will be quite dangerous
  if usbd_set_config_no() has been called[here via axe_reset()]
  
  Obtained-from: FreeBSD dev/usb/if_axe.c rev1.16
  Reviewed-by: joerg
  
  Revision  Changes    Path
  1.14      +2 -2      src/sys/dev/netif/axe/if_axe.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/axe/if_axe.c.diff?r1=1.13&r2=1.14&f=u



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