[ovs-dev] [PATCH 2/2] ofproto: Always set MTU for new internal ports.
Ben Pfaff
blp at ovn.org
Tue Aug 30 22:32:22 UTC 2016
On Tue, Aug 30, 2016 at 11:41:15AM -0700, Daniele Di Proietto wrote:
> We only changed the MTU of new internal ports if it is bigger than the
> bridge minimum. But when the minimum MTU of the bridge is updated we
> change the MTU of all internal ports no matter what.
>
> The behavior is inconsistent, because now the internal ports MTU depends
> on the order in which the ports where added.
>
> This commit fixes the problem by _always_ setting the MTU of new
> internal ports to the bridge minimum. I'm not sure what was the logic
> behind only adjusting the mtu if it was too big.
>
> A testcase is improved to detect the problem.
>
> VMware-BZ: #1718776
> Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list