Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

From: David Miller
Date: Fri Oct 21 2016 - 13:58:46 EST


From: Jarod Wilson <jarod@xxxxxxxxxx>
Date: Thu, 20 Oct 2016 23:25:27 -0400

> These few drivers call ether_setup(), but have no ndo_change_mtu, and thus
> were overlooked for changes to MTU range checking behavior. They
> previously had no range checks, so for feature-parity, set their min_mtu
> to 0 and max_mtu to ETH_MAX_MTU (65535), instead of the 68 and 1500
> inherited from the ether_setup() changes. Fine-tuning can come after we get
> back to full feature-parity here.
>
> CC: netdev@xxxxxxxxxxxxxxx
> Reported-by: Asbjoern Sloth Toennesen <asbjorn@xxxxxxxxxx>
> CC: Asbjoern Sloth Toennesen <asbjorn@xxxxxxxxxx>
> CC: R Parameswaran <parameswaran.r7@xxxxxxxxx>
> Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>

Applied.

Please use "[PATCH net-next]" in your subject line when a patch
targets net-next.