Subject: Re: [PATCH net-next 1/2] UDP tunnel encapsulation module for tunnelling different protocols like MPLS,IP,NSH etc.

From: Stephen Hemminger <[email-masked]>
Date: Tue, 8 Oct 2019 09:05:27 -0700

On Tue,  8 Oct 2019 15:18:53 +0530
Martin Varghese <[email-masked]> 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()