Re: [PATCH] xen-netfront, xen-netback: Use correct minimum MTU values
From: Wei Liu
Date: Mon Oct 16 2017 - 11:56:11 EST
On Mon, Oct 16, 2017 at 03:20:32PM +0200, Mohammed Gamal wrote:
> RFC791 specifies the minimum MTU to be 68, while xen-net{front|back}
> drivers use a minimum value of 0.
>
> When set MTU to 0~67 with xen_net{front|back} driver, the network
> will become unreachable immediately, the guest can no longer be pinged.
>
> xen_net{front|back} should not allow the user to set this value which causes
> network problems.
>
> Reported-by: Chen Shi <cheshi@xxxxxxxxxx>
> Signed-off-by: Mohammed Gamal <mgamal@xxxxxxxxxx>
Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
CC netfront maintainers