[OpenSM] - OpenSM/osm_lid_mgr.c: handle different MTU
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 12 Mar 2006 13:22:56 +0000 (13:22 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 12 Mar 2006 13:22:56 +0000 (13:22 +0000)
commitc540026535f9b7e6bbcded12a1db9bc72d44d566
tree22e745b88098b6c882b749ba1622dc8ff462e161
parentf666d59b10825746e4af562434d4059d48212fce
[OpenSM] - OpenSM/osm_lid_mgr.c: handle different MTU

Fix a bug that in case of a difference between the MTU of two ports, only the
port with the higher MTU was set to down. It's remote port was written in the
DB in the ACTIVE state although its real status was INIT. Because of this,
the SM didn't try to lift the remote port to ACTIVE.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@239 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
ulp/opensm/user/opensm/osm_lid_mgr.c