From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio Subject: Re: [PATCH net 2/2] geneve, vxlan: Don't set exceptions if skb->len < mtu Date: Mon, 15 Oct 2018 10:27:16 +0200 Message-ID: <20181015102716.2a56623f@redhat.com> References: <97f93a69894ed49e6b914a8211ec813cc1bbc433.1539381018.git.sbrivio@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: davem , Sabrina Dubroca , network dev To: Xin Long Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57402 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbeJOQLh (ORCPT ); Mon, 15 Oct 2018 12:11:37 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 15 Oct 2018 15:01:31 +0900 Xin Long wrote: > On Sat, Oct 13, 2018 at 6:54 AM Stefano Brivio wrote: > > > > We shouldn't abuse exceptions: if the destination MTU is already higher > > than what we're transmitting, no exception should be created. > makes sense, shouldn't ip(6) tunnels also do this? I should probably have mentioned this in the cover letter: in theory yes, but I'm doing this as preparation for ICMP handling in UDP tunnels, and those will get selftests soon (once I'm done). Writing extensive selftests for IP tunnels will take significantly longer, so I'm not too confident to change this right now. I'd prefer to address that at a later time. -- Stefano