[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Trying to adapt Olaf's vif MTU patch for EL5.6's 2.6.18-238.9 kernel - patch in-line.
Morning, I've been able to test this patch and it works, provided that the following patch is applied to /etc/xen/scripts/vif-bridge: ==== --- vif-bridge.orig 2011-04-17 01:58:49.000000000 -0400 +++ vif-bridge 2011-04-17 11:20:14.000000000 -0400 @@ -56,6 +56,11 @@ case "$command" in online) setup_bridge_port "$vif" + mtu="`ip link show $bridge | awk '/mtu/ { print $5 }'`" + if [ -n "$mtu" ] && [ "$mtu" -gt 0 ] + then + ip link set $vif mtu $mtu || : + fi add_to_bridge "$bridge" "$vif" ;; ==== Please note, this differs slightly from Olaf's patch found here: http://lists.xensource.com/archives/html/xen-devel/2011-02/msg00351.html The only difference is that, in Xen 3.0.3/EL5.6, the variable name is '$vif', not '$dev'. I'm trying to create a proper patch for the xen-3.0.3 but am having trouble with source rpm. I'll post back with a proper patch once I get it working. This is related to bz 697021 (https://bugzilla.redhat.com/show_bug.cgi?id=697021). -- Digimer E-Mail: digimer@xxxxxxxxxxx AN!Whitepapers: http://alteeve.com Node Assassin: http://nodeassassin.org _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |