Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346Ab3FBHOU (ORCPT ); Sun, 2 Jun 2013 03:14:20 -0400 Received: from ozlabs.org ([203.10.76.45]:33043 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711Ab3FBHOS (ORCPT ); Sun, 2 Jun 2013 03:14:18 -0400 From: Rusty Russell To: Ben Greear , Linux Kernel Mailing List Cc: stable@kenel.org, Joe Lawrence Subject: Re: Please add to stable: module: don't unlink the module until we've removed all exposure. In-Reply-To: <51A8E884.1080009@candelatech.com> References: <51A8E884.1080009@candelatech.com> User-Agent: Notmuch/0.15.2+81~gd2c8818 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Sun, 02 Jun 2013 14:39:52 +0930 Message-ID: <87ehclumhr.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 23 Ben Greear writes: > It turns out, the bug I spent yesterday chasing in various 3.9 kernels is apparently > fixed by the commit in the title (c9c390bb5535380d40614571894ef0c00bc026ff). Apparently being the operative word. This commit avoids the entire "module insert failed due to sysfs race" path in the common case, it doesn't fix any actual problem. I think the real commit you want is Linus' kobject fix a49b7e82cab0f9b41f483359be83f44fbb6b4979 "kobject: fix kset_find_obj() race with concurrent last kobject_put()". Or is that already in stable? Cheers, Rusty. -- 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/