Re: [PATCH] xen-netfront, xen-netback: Use correct minimum MTU values
From: Boris Ostrovsky
Date: Mon Oct 16 2017 - 16:18:40 EST
On 10/16/2017 11:05 AM, Wei Liu wrote:
> 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
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
I can take it via Xen tree unless there are objections.
-boris