Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933649AbbLBR6n (ORCPT ); Wed, 2 Dec 2015 12:58:43 -0500 Received: from parrot.pmhahn.de ([88.198.50.102]:46584 "EHLO parrot.pmhahn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933135AbbLBR6i (ORCPT ); Wed, 2 Dec 2015 12:58:38 -0500 Message-ID: <565F2FB8.9010006@pmhahn.de> Date: Wed, 02 Dec 2015 18:51:52 +0100 From: Philipp Hahn User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Hannes Frederic Sowa , Stefan Priebe - Profihost AG , Florian Weimer CC: Thomas Gleixner , netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, herbert@gondor.apana.org.au Subject: Re: Asterisk deadlocks since Kernel 4.1 References: <564B3D35.50004@profihost.ag> <564B7F9D.5060701@profihost.ag> <564CDE2F.8000201@profihost.ag> <564CEB0C.40006@redhat.com> <564CEF5D.3080005@profihost.ag> <564D9A17.6080305@redhat.com> <564D9B21.302@profihost.ag> <564D9CE6.2090104@profihost.ag> <1447933294.1974772.444210441.67F1AC5E@webmail.messagingengine.com> <564DB5F5.9060208@profihost.ag> <1447936902.1986892.444251921.3928A049@webmail.messagingengine.com> <564DC4A5.70104@profihost.ag> <564DCC4C.1090009@redhat.com> <564E2852.8000200@profihost.ag> <56530A42.6030609@profihost.ag> <1448283451.4019628.447573353.3659E447@webmail.messagingengine.com> <565EBDC1.1090808@profihost.ag> <8737vlt6xb.fsf@stressinduktion.org> In-Reply-To: <8737vlt6xb.fsf@stressinduktion.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 31 Hi, Am 02.12.2015 um 12:40 schrieb Hannes Frederic Sowa: > Cool, thanks a lot. Does this patch make a difference? > > diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c > index 59651af..278e94c 100644 > --- a/net/netlink/af_netlink.c > +++ b/net/netlink/af_netlink.c > @@ -1137,7 +1137,7 @@ static int netlink_insert(struct sock *sk, u32 portid) > > /* We need to ensure that the socket is hashed and visible. */ > smp_wmb(); > - nlk_sk(sk)->bound = portid; > + nlk_sk(sk)->bound = true; > > err: > release_sock(sk); Will test that tomorrow. What confuss me is that it works with 4.3. I compared net/netlink/af_netlink.[ch] for differences between v4.1.10 and v4.3 and didn't find anything which would explain only 4,1 getting stuck. Philipp -- 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/