Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 496016 Details for
Bug 697310
vif (netback) should take its default MTU from the bridge
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Updated userland patch which works with multiple, out of sync domU ethX to dom0 xenbrY devices
xen_match_vif_mtu_to_bridge_mtu.patch (text/plain), 1.50 KB, created by
Madison Kelly
on 2011-05-01 01:42:43 UTC
(
hide
)
Description:
Updated userland patch which works with multiple, out of sync domU ethX to dom0 xenbrY devices
Filename:
MIME Type:
Creator:
Madison Kelly
Created:
2011-05-01 01:42:43 UTC
Size:
1.50 KB
patch
obsolete
>--- /etc/xen/scripts/xen-network-common.sh.orig 2011-03-30 19:36:46.000000000 -0400 >+++ /etc/xen/scripts/xen-network-common.sh 2011-04-30 16:33:58.000000000 -0400 >@@ -139,6 +139,10 @@ > ip link set ${dev} up || true > return > fi >+ # Set the MTU of the vif to match the bridge. >+ if [ -e "/sys/class/net/${bridge}/mtu" ]; then >+ ip link set ${dev} mtu `cat /sys/class/net/${bridge}/mtu` >+ fi > brctl addif ${bridge} ${dev} > ip link set ${dev} up > } > >--- /etc/xen/scripts/xen-network-common-bonding.sh.orig 2011-04-30 16:44:18.000000000 -0400 >+++ /etc/xen/scripts/xen-network-common-bonding.sh 2011-04-30 16:56:00.000000000 -0400 >@@ -137,6 +137,10 @@ > ip link set ${dev} up || true > return > fi >+ # Set the MTU of the vif to match the bridge. >+ if [ -e "/sys/class/net/${bridge}/mtu" ]; then >+ ip link set ${dev} mtu `cat /sys/class/net/${bridge}/mtu` >+ fi > brctl addif ${bridge} ${dev} > ip link set ${dev} up > } > >--- /etc/xen/qemu-ifup.orig 2007-05-18 10:45:21.000000000 -0400 >+++ /etc/xen/qemu-ifup 2011-04-22 18:59:45.000000000 -0400 >@@ -5,5 +5,12 @@ > > echo 'config qemu network with xen bridge for ' $* > >+# This sets the MTU of the tap interface to that of the corresponding ethX >+# device so that the bridge's MTU doesn't drop when the interface is added to >+# it. NOTE: Might be better to use the bridge device or pethX? >+pdev=`echo $1 | sed -e "s/^tap\(.*\)$/eth\1/"` >+mtu=`cat /sys/class/net/$pdev/mtu` >+ > ifconfig $1 0.0.0.0 up >+ifconfig $1 mtu $mtu > brctl addif $2 $1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 697310
:
492725
|
492964
|
494328
|
496016
|
503673
|
503675