Re: [PATCH] xen-netfront, xen-netback: Use correct minimum MTU values
From: David Miller
Date: Mon Oct 16 2017 - 16:22:32 EST
From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
Date: Mon, 16 Oct 2017 16:19:07 -0400
> 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.
No problem on my end.