Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757252AbbDPMCh (ORCPT ); Thu, 16 Apr 2015 08:02:37 -0400 Received: from forward17.mail.yandex.net ([95.108.253.142]:44003 "EHLO forward17.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754091AbbDPMC3 (ORCPT ); Thu, 16 Apr 2015 08:02:29 -0400 X-Greylist: delayed 310 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Apr 2015 08:02:29 EDT From: Evgeniy Polyakov Envelope-From: drustafa@yandex.ru To: David Fries , Jonathan ALIBERT Cc: Thorsten Bschorr , "linux-kernel@vger.kernel.org" In-Reply-To: <20150416035157.GI3409@spacedout.fries.net> References: <20150308211449.GG11991@spacedout.fries.net> <20150309230924.GJ11991@spacedout.fries.net> <2663771425995520@web30h.yandex.ru> <20150312005408.GD23778@spacedout.fries.net> <2283421426366516@web2o.yandex.ru> <20150318042037.GE21067@spacedout.fries.net> <702441426691933@web2g.yandex.ru> <20150319000908.GG21067@spacedout.fries.net> <20150416035157.GI3409@spacedout.fries.net> Subject: Re: [PATCH] Avoid null-pointer access in w1/slaves/w1_therm MIME-Version: 1.0 Message-Id: <694991429185435@web19g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 16 Apr 2015 14:57:15 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 821 Lines: 17 Hi David 16.04.2015, 06:52, "David Fries" : > It has not been solved. ?Evgeniy would like to make use of the sysfs > device management instead of the current reference counting, however I > haven't heard any volunteers to do that work. ?I posted a quick fix > patch, it was very easy to crash without this patch, it doesn't > completely solve the race conditions, and I don't think it can be > solved in just a slave driver change. Let's push this patch upstream as a temporal fix until we are ready with the new solution. Thorsten, does it fix your crash? -- 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/