]> xenbits.xensource.com Git - xen.git/commit
tools/hotplug: set mtu from bridge for tap interface
authorCharles Arnold <carnold@suse.com>
Mon, 16 Sep 2013 20:18:37 +0000 (14:18 -0600)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 17 Sep 2013 14:26:27 +0000 (15:26 +0100)
commitf3f5f1927f0d3aef9e3d2ce554dbfa0de73487d5
tree78433477ca2964ec5c571e65b2aa98a39ece336a
parentc5e9596cd095e3b96a090002d9e6629a980904eb
tools/hotplug: set mtu from bridge for tap interface

With changeset 22885 support was added for setting the MTU in the vif-bridge
script for when a vif interface was set to 'online'.  The was not done for the
'add' operation.  The 'add' operation was added to the script for when tap
devices were specified (c/s 21944). With the setting of the MTU for the
'online' case was there a reason for omitting the 'add'?

This patch sets the MTU for both 'online' and 'add' in the vif-bridge script.

Signed-off-by: Charles Arnold <carnold@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/vif-bridge
tools/hotplug/Linux/xen-network-common.sh