]> git.proxmox.com Git - mirror_ovs.git/commit
bridge: Honor 'mtu_request' when port is added.
authorDaniele Di Proietto <diproiettod@vmware.com>
Tue, 30 Aug 2016 02:01:13 +0000 (19:01 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Wed, 31 Aug 2016 00:49:27 +0000 (17:49 -0700)
commit7c12e20006118e69a98f6840731ebf0c87582b4a
tree84da62937029f88fc5e1ee6267412c7350442ff2
parent67762449ecbf282f0667fa8b31df68602a497619
bridge: Honor 'mtu_request' when port is added.

'mtu_request' was honored only when the port was reconfigured, not when
the port was added.

This commit fixes the problem and improves a testcase to detect the bug.

Found by inspection.

Fixes: 56abcf497b56("vswitchd: Introduce 'mtu_request' column in
Interface.")
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ben Pfaff <blp@ovn.org>
tests/ofproto-dpif.at
vswitchd/bridge.c