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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Sep 9 07:01:57 PDT 2005


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





More information about the Commits mailing list