From nobody@FreeBSD.org  Sun Oct 23 04:46:53 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7909816A420
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Oct 2005 04:46:53 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0C49643D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Oct 2005 04:46:53 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9N4kq5X028274
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Oct 2005 04:46:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j9N4kqtt028273;
	Sun, 23 Oct 2005 04:46:52 GMT
	(envelope-from nobody)
Message-Id: <200510230446.j9N4kqtt028273@www.freebsd.org>
Date: Sun, 23 Oct 2005 04:46:52 GMT
From: YuHong <bsditer@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: System reboot while umount smbfs.
X-Send-Pr-Version: www-2.3

>Number:         87859
>Category:       kern
>Synopsis:       [smbfs] System reboot while umount smbfs.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ae
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 04:50:16 GMT 2005
>Closed-Date:    Fri May 02 21:34:20 UTC 2014
>Last-Modified:  Fri May 02 21:34:20 UTC 2014
>Originator:     YuHong
>Release:        5.4 Stable
>Organization:
Junction.co,ltd, china
>Environment:
FreeBSD bsd.junction.com 5.4-STABLE FreeBSD 5.4-STABLE #2: Fri Oct 21 18:50:57 CST 2005     root@bsd.junction.com:/usr/obj/usr/src/sys/bsd  i386
>Description:
system will reboot while umount smbfs after network broken.
>How-To-Repeat:
1. mount_smbfs -N //lyx/download /mnt
2. close windows xp machine.(broken network)
3. umount /mnt (system will reboot)
>Fix:
              
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 04:22:56 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87859 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/87859: commit references a PR
Date: Thu, 17 Apr 2014 12:22:11 +0000 (UTC)

 Author: ae
 Date: Thu Apr 17 12:22:08 2014
 New Revision: 264600
 URL: http://svnweb.freebsd.org/changeset/base/264600
 
 Log:
   Remove redundant unlock.
   
   This code was removed from the opensolaris and darwin's
   netsmb implementations, in DfBSD it also has been disabled.
   
   PR:		36566, 87859, 139407, 161579, 175557, 178412, 186652
   MFC after:	2 weeks
   Sponsored by:	Yandex LLC
 
 Modified:
   head/sys/netsmb/smb_iod.c
 
 Modified: head/sys/netsmb/smb_iod.c
 ==============================================================================
 --- head/sys/netsmb/smb_iod.c	Thu Apr 17 12:16:51 2014	(r264599)
 +++ head/sys/netsmb/smb_iod.c	Thu Apr 17 12:22:08 2014	(r264600)
 @@ -87,8 +87,6 @@ smb_iod_invrq(struct smbiod *iod)
  	 */
  	SMB_IOD_RQLOCK(iod);
  	TAILQ_FOREACH(rqp, &iod->iod_rqlist, sr_link) {
 -		if (rqp->sr_flags & SMBR_INTERNAL)
 -			SMBRQ_SUNLOCK(rqp);
  		rqp->sr_flags |= SMBR_RESTART;
  		smb_iod_rqprocessed(rqp, ENOTCONN);
  	}
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ae 
State-Changed-When: Fri May 2 21:33:23 UTC 2014 
State-Changed-Why:  
Fixed in head/ and stable/10. 


Responsible-Changed-From-To: freebsd-fs->ae 
Responsible-Changed-By: ae 
Responsible-Changed-When: Fri May 2 21:33:23 UTC 2014 
Responsible-Changed-Why:  
Take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87859 
>Unformatted:
