From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net 0/8] net: fix uninit-values in networking stack Date: Sun, 08 Apr 2018 17:18:50 -0400 (EDT) Message-ID: <20180408.171850.337606563206502890.davem@davemloft.net> References: <3748e283-5172-199c-660d-6814afe51823@gmail.com> <20180408.124959.590910633534141941.davem@davemloft.net> <0a539248-4e45-a429-f708-d906c145c736@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: edumazet@google.com, netdev@vger.kernel.org To: eric.dumazet@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:54374 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752289AbeDHVSy (ORCPT ); Sun, 8 Apr 2018 17:18:54 -0400 In-Reply-To: <0a539248-4e45-a429-f708-d906c145c736@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Sun, 8 Apr 2018 09:55:58 -0700 > I also have a report of a WARN() in ip_rt_bug(), added in commit > c378a9c019cf5e017d1ed24954b54fae7bebd2bc by Dave Jones. > > Not sure what to do, maybe revert, since ip_rt_bug() is not catastrophic. Let's not do the revert, I wouldn't have seen the backtrace which points where this bug is if we had. icmp_route_lookup(), in one branch, does an input route lookup and uses the result of that to send the icmp message. That can't be right, input routes should never be used for transmitting traffice and that's how we end up at ip_rt_bug().