Subject: Re: [RFC PATCH] veth: keep peers MTU values synchronized

From: "Ilya V. Matveychikov" <[email-masked]>
Date: Fri, 4 Apr 2014 18:42:29 +0400

On 04.04.2014 18:25, David Miller wrote:
> From: "Ilya V. Matveychikov" <[email-masked]>
> Date: Fri, 04 Apr 2014 01:33:04 +0400
> 
>> Keep peers MTU values synchronized. That prevent dropping packets
>> while
>> forwarding as diffirent MTU values prevent skb moving from one peer's
>> device to another (is_skb_forwardable returns false).
>>
>> Signed-off-by: Ilya V. Matveychikov <[email-masked]>
> 
> Such side effects on another device when changing the configuration
> of one are strongly discouraged.
> 

Devices are paired. It means that one depends on another. Is there any case
where this "side" effect wouldn't be helpful?

> Furthermore, when the veth peer is created, no attempt is made to
> synchronize the MTUs.

Peers are created at once and ether_setup used for the configuration so MTU
values equals.

> 
> Let it therefore be the admins responsibility to keep them in sync
> just as it would be on a real network.
> 
> 

Different MTU values for the veth pairs are meaningless as if so we can't do the
communication between the namespaces at all. So, is it correct to shift all the
configuration problems to admins?