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 503675 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]
patch for the SRPM
0001-bug-697310.patch (text/plain), 2.03 KB, created by
Paolo Bonzini
on 2011-06-08 12:37:12 UTC
(
hide
)
Description:
patch for the SRPM
Filename:
MIME Type:
Creator:
Paolo Bonzini
Created:
2011-06-08 12:37:12 UTC
Size:
2.03 KB
patch
obsolete
>From a7895bd0da0e5782804f4aa187997d757803a3ff Mon Sep 17 00:00:00 2001 >From: Paolo Bonzini <pbonzini@redhat.com> >Date: Wed, 8 Jun 2011 14:35:17 +0200 >Subject: [RHEL 5.7 Xen PATCH] bug 697310 > >--- > tools/examples/xen-network-common-bonding.sh | 4 ++++ > tools/examples/xen-network-common.sh | 4 ++++ > tools/ioemu/target-i386-dm/qemu-ifup | 6 ++++++ > 3 files changed, 14 insertions(+), 0 deletions(-) > >diff --git a/tools/examples/xen-network-common-bonding.sh b/tools/examples/xen-network-common-bonding.sh >index 197ee67..9ddf1e8 100644 >--- a/tools/examples/xen-network-common-bonding.sh >+++ b/tools/examples/xen-network-common-bonding.sh >@@ -137,6 +137,10 @@ add_to_bridge () { > 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 > } >diff --git a/tools/examples/xen-network-common.sh b/tools/examples/xen-network-common.sh >index d983710..b4c0dab 100644 >--- a/tools/examples/xen-network-common.sh >+++ b/tools/examples/xen-network-common.sh >@@ -139,6 +139,10 @@ add_to_bridge () { > 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 > } >diff --git a/tools/ioemu/target-i386-dm/qemu-ifup b/tools/ioemu/target-i386-dm/qemu-ifup >index 519500d..acc061c 100644 >--- a/tools/ioemu/target-i386-dm/qemu-ifup >+++ b/tools/ioemu/target-i386-dm/qemu-ifup >@@ -10,5 +10,11 @@ mac=`printf "fe:%02x:%02x:%02x:%02x:%02x" \ > $(($RANDOM % 256)) $(($RANDOM % 256))` > > ifconfig $1 hw ether ${mac} >+ >+# Set the MTU of the interface to match the bridge >+if [ -e "/sys/class/net/$2/mtu" ]; then >+ ifconfig $1 mtu `cat /sys/class/net/$2/mtu` >+fi >+ > ifconfig $1 0.0.0.0 up > brctl addif $2 $1 >-- >1.7.4.4 >
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