Re: [PATCH] vmxnet3: Use correct minimum MTU value
From: David Miller
Date: Fri Oct 20 2017 - 02:15:57 EST
From: Mohammed Gamal <mgamal@xxxxxxxxxx>
Date: Tue, 17 Oct 2017 16:33:43 +0200
> Currently the vmxnet3 driver has a minimum MTU value of 60. Which
> goes against the RFC791 spec which specifies it at 68.
>
> Setting MTU to values between 60 <= MTU <= 67 causes the network
> interface to lose its IP, and it fails to restart.
>
> This sets the minimum value to ETH_MIN_MTU (68) which is compatible
> with is according to spec.
>
> Reported-by: Bo Yang <boyang@xxxxxxxxxx>
> Signed-off-by: Mohammed Gamal <mgamal@xxxxxxxxxx>
There are protocols other than IPv4, and as Andrew mentioned
the ipv4 stack does the right thing by disabling ipv4 on
an interface when the MTU is too small.