Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758225AbXEWC7T (ORCPT ); Tue, 22 May 2007 22:59:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755111AbXEWC7J (ORCPT ); Tue, 22 May 2007 22:59:09 -0400 Received: from nz-out-0506.google.com ([64.233.162.226]:20100 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754916AbXEWC7I (ORCPT ); Tue, 22 May 2007 22:59:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GIHdLr4h4462DMIXHJTk2ORemngBYvG9mredpYjtumqFKbcV+LH/bD1clkyQRjeAIgymEbmiNKn2+ss0aaNuhGc3NizT9lDViYqgu/4X2dfHrTmQyvK0ecwaEn+5i74kptOSU0oCZ1NuWAQCylQmp3vYL4psF4PFpBmnnuv/Shw= Message-ID: Date: Wed, 23 May 2007 02:59:07 +0000 From: "young dave" To: "Andrew Morton" Subject: Re: 2.6.22-rc1-mm1 cifs_mount oops Cc: "Linux Kernel Mailing List" , "Steven French" In-Reply-To: <20070522192231.6d1a94df.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070522192231.6d1a94df.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 24 Hi, maybe we can add if sentence before kthread_stop. diff -ur linux/fs/cifs/connect.c linux.new/fs/cifs/connect.c --- linux/fs/cifs/connect.c 2007-05-23 10:59:13.000000000 +0000 +++ linux.new/fs/cifs/connect.c 2007-05-23 10:58:39.000000000 +0000 @@ -2070,7 +2070,8 @@ spin_unlock(&GlobalMid_Lock); if (srvTcp->tsk) { send_sig(SIGKILL,srvTcp->tsk,1); - kthread_stop(srvTcp->tsk); + if(srvTcp->tsk) + kthread_stop(srvTcp->tsk); } } Regards dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/