From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755020Ab0HaTT5 (ORCPT ); Tue, 31 Aug 2010 15:19:57 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:38160 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754950Ab0HaTT4 (ORCPT ); Tue, 31 Aug 2010 15:19:56 -0400 Date: Tue, 31 Aug 2010 21:19:34 +0200 From: Ingo Molnar To: Eric Dumazet Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Michael S. Tsirkin" , "David S. Miller" , Tejun Heo Subject: Re: vhost_dev_cleanup() crash: BUG: unable to handle kernel NULL pointer dereference Message-ID: <20100831191934.GA2779@elte.hu> References: <20100831075705.GA4710@elte.hu> <1283251801.2550.53.camel@edumazet-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1283251801.2550.53.camel@edumazet-laptop> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0004] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Eric Dumazet wrote: > [PATCH] vhost: stop worker only if created This seems to have done the trick, thanks Eric. Tested-by: Ingo Molnar > Its illegal to call kthread_stop(NULL) s/illegal/invalid Thanks, Ingo