[ewg] [PATCH] ofed_1_2/ofed_scripts: Bug fix in setting mode of bonding slave

Moni Shoua monisonlists at gmail.com
Sun May 20 06:55:50 PDT 2007


This patch fixes a fault that is mentioned bug 538



diff --git a/ofed_scripts/openibd b/ofed_scripts/openibd
index 5fdbf6e..530aaea 100755
--- a/ofed_scripts/openibd
+++ b/ofed_scripts/openibd
@@ -820,7 +820,7 @@ start()
 				fi
 				if [ "X${SET_IPOIB_CM}" == "Xyes" ]; then
 					for slave in $(echo $bond_slaves|tr , " ") ; do
-						set_ipoib_cm ${i}
+						set_ipoib_cm ${slave}
 					done
 				        /sbin/ifconfig $bond mtu ${IPOIB_MTU}
 				fi




More information about the ewg mailing list