From: Nicolas Dichtel Subject: Re: [PATCH net] net: don't call update_pmtu unconditionally Date: Fri, 26 Jan 2018 00:10:13 +0100 Message-ID: References: <20180125.112547.1937601270494977117.davem@davemloft.net> <20180125180303.17532-1-nicolas.dichtel@6wind.com> <20180125.162801.425615148241706142.davem@davemloft.net> Reply-To: nicolas.dichtel@6wind.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: netdev@vger.kernel.org, code@rkapl.cz, lucien.xin@gmail.com, jbenc@redhat.com, pablo@netfilter.org, edumazet@google.com, dsahern@gmail.com, tgraf@suug.ch To: David Miller Return-path: Received: from mail-wr0-f169.google.com ([209.85.128.169]:46939 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbeAYXKR (ORCPT ); Thu, 25 Jan 2018 18:10:17 -0500 Received: by mail-wr0-f169.google.com with SMTP id g21so9252081wrb.13 for ; Thu, 25 Jan 2018 15:10:16 -0800 (PST) In-Reply-To: <20180125.162801.425615148241706142.davem@davemloft.net> Content-Language: fr Sender: netdev-owner@vger.kernel.org List-ID: Le 25/01/2018 à 22:28, David Miller a écrit : > From: Nicolas Dichtel > Date: Thu, 25 Jan 2018 19:03:03 +0100 > >> Some dst_ops (e.g. md_dst_ops)) doesn't set this handler. It may result to: >> "BUG: unable to handle kernel NULL pointer dereference at (null)" >> >> Let's add a helper to check if update_pmtu is available before calling it. >> >> Fixes: 52a589d51f10 ("geneve: update skb dst pmtu on tx path") >> Fixes: a93bf0ff4490 ("vxlan: update skb dst pmtu on tx path") >> CC: Roman Kapl >> CC: Xin Long >> Signed-off-by: Nicolas Dichtel > > Applied with the fixup suggested by David Ahern and queued up for -stable, Thank you for taking care of that. Regards, Nicolas