Date: Thu, 17 Nov 2005 05:00:31 GMT From: Rostislav Krasny <rosti.bsd@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/89085 : [smbfs] [panic] Running 'kldunload smbfs' without 'smbutil logout' always panicing the system Message-ID: <200511170500.jAH50VO7019329@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/89085; it has been noted by GNATS. From: Rostislav Krasny <rosti.bsd@gmail.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/89085 : [smbfs] [panic] Running 'kldunload smbfs' without 'smbutil logout' always panicing the system Date: Thu, 17 Nov 2005 06:57:45 +0200 Following patch of src/sys/netsmb/smb_dev.c fixes the panic: --- smb_dev.c.orig Mon Aug 15 11:27:48 2005 +++ /usr/src/sys/netsmb/smb_dev.c Thu Nov 17 05:14:23 2005 @@ -346,7 +346,8 @@ case MOD_UNLOAD: smb_iod_done(); error = smb_sm_done(); - error = 0; + if (error != 0) + break; EVENTHANDLER_DEREGISTER(dev_clone, nsmb_dev_tag); printf("netsmb_dev: unloaded\n"); break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511170500.jAH50VO7019329>