Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752638AbbHKEW6 (ORCPT ); Tue, 11 Aug 2015 00:22:58 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:46153 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750975AbbHKEW5 (ORCPT ); Tue, 11 Aug 2015 00:22:57 -0400 Date: Mon, 10 Aug 2015 21:22:56 -0700 (PDT) Message-Id: <20150810.212256.1658635789817625453.davem@davemloft.net> To: jmaxwell37@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jmaxwell@redhat.com Subject: Re: [PATCH net] netconsole: Check for carrier before calling netpoll_send_udp() From: David Miller In-Reply-To: <1439256746-7953-1-git-send-email-jmaxwell37@gmail.com> References: <1439256746-7953-1-git-send-email-jmaxwell37@gmail.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 10 Aug 2015 21:22:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 818 Lines: 20 From: Jon Maxwell Date: Tue, 11 Aug 2015 11:32:26 +1000 > We have seen a few crashes recently where a NIC is getting > reset for some reason and then the driver or another module calls > printk() which invokes netconsole. Netconsole then calls the > adapter specific poll routine via netpoll which crashes because > the adapter is resetting and its structures are being reinitialized. This isn't a fix. What if the carrier check passes, and then the chip reset starts on another cpu? You'll have the same problem. I'm not applying this, sorry. -- 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/