[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191008090527.53c638c6@hermes.lan>
Date: Tue, 8 Oct 2019 09:05:27 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Martin Varghese <martinvarghesenokia@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, corbet@....net,
scott.drennan@...ia.com, jbenc@...hat.com,
martin.varghese@...ia.com
Subject: Re: [PATCH net-next 1/2] UDP tunnel encapsulation module for
tunnelling different protocols like MPLS,IP,NSH etc.
On Tue, 8 Oct 2019 15:18:53 +0530
Martin Varghese <martinvarghesenokia@...il.com> wrote:
> + if (new_mtu > dev->max_mtu)
> + new_mtu = dev->max_mtu;
> + else if (new_mtu < dev->min_mtu)
> + new_mtu = dev->min_mtu;
> +
These checks are already handled as errors in dev_set_mtu_ext()
Powered by blists - more mailing lists