cvs commit: src/sys/dev/usb if_zyd.c

Sam Leffler sam at FreeBSD.org
Thu Sep 6 20:54:54 PDT 2007


sam         2007-09-07 03:54:54 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          if_zyd.c 
  Log:
  - fix a bug that zyd_attach() returns 0 even if it encountered errors
    that can lead to a panic when the stick is yanked.
  - make sure that zyd_attach() returns 0 or errno.
  
  Submitted by:   Weongyo Jeong <weongyo.jeong at gmail.com>
  Reported by:    Ted Lindgreen <ted at tednet.nl>
  Reviewed by:    sam
  Approved by:    re (blanket wireless)
  
  Revision  Changes    Path
  1.3       +11 -3     src/sys/dev/usb/if_zyd.c


More information about the cvs-src mailing list