diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-04-02 11:48:10 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-04-02 11:48:10 +0100 |
commit | 0c29f97df0f61098c96a411ad745bb24e0adc7ae (patch) | |
tree | 92cf7d0a98a4d85ebc0f5af18e33865add944ba6 /tools/xentrace | |
parent | 58740d22ab313771dc1a8829f69a17e620a2d3e4 (diff) | |
download | xen-0c29f97df0f61098c96a411ad745bb24e0adc7ae.tar.gz xen-0c29f97df0f61098c96a411ad745bb24e0adc7ae.tar.bz2 xen-0c29f97df0f61098c96a411ad745bb24e0adc7ae.zip |
network-bridge: Fix do_ifup in the case of ${bridge} != ${netdev}
On RHEL5.2, ifup ${bridge} fails if ${bridge} != ${netdev},
because RHEL5.2's ifup ${bridge} runs the following sequence:
1. Search CONFIG that has the same mac address of ${bridge}.=20
ifcfg-${netdev} is found.
2. Run "ip link set dev ${netdev} up".
# ${bridge} is expected.
3. Output "Failed to bring up ${netdev}."
Because ${netdev} does not exist.
Thus, do_ifup() should not use ifup if ${bridge} != ${netdev}.
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Diffstat (limited to 'tools/xentrace')
0 files changed, 0 insertions, 0 deletions