From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] ipv6: Fix PMTU updates for UDP/raw sockets in presence of VRF Date: Sun, 18 Nov 2018 19:03:48 -0800 (PST) Message-ID: <20181118.190348.990786611160085958.davem@davemloft.net> References: <20181118184530.20284-1-dsahern@kernel.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, preethir@juniper.net, dsahern@gmail.com To: dsahern@kernel.org Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:60340 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726975AbeKSNZ7 (ORCPT ); Mon, 19 Nov 2018 08:25:59 -0500 In-Reply-To: <20181118184530.20284-1-dsahern@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: From: David Ahern Date: Sun, 18 Nov 2018 10:45:30 -0800 > From: David Ahern > > Preethi reported that PMTU discovery for UDP/raw applications is not > working in the presence of VRF when the socket is not bound to a device. > The problem is that ip6_sk_update_pmtu does not consider the L3 domain > of the skb device if the socket is not bound. Update the function to > set oif to the L3 master device if relevant. > > Fixes: ca254490c8df ("net: Add VRF support to IPv6 stack") > Reported-by: Preethi Ramachandra > Signed-off-by: David Ahern Applied and queued up for -stable.