[ofa-general] Issues with osm_sm_state_mgr_check_legality()

Vincent Ficet jean-vincent.ficet at bull.net
Thu Jul 3 01:41:33 PDT 2008


Hello,

In opensm/opensm/osm_sm_state_mgr.c:osm_sm_state_mgr_check_legality(), I 
noticed that the only valid signals that the SM can get while in the 
IB_SMINFO_STATE MASTER are:
- OSM_SM_SIGNAL_HANDOVER
- OSM_SM_SIGNAL_HANDOVER_SENT

However, in opensm/opensm/osm_sm_state_mgr.c:osm_sm_state_mgr_process(), 
we see that the following signals can be received in the master state:
- OSM_SM_SIGNAL_POLLING_TIMEOUT
- OSM_SM_SIGNAL_HANDOVER
- OSM_SM_SIGNAL_HANDOVER_SENT
- OSM_SM_SIGNAL_WAIT_FOR_HANDOVER
- OSM_SM_SIGNAL_DISCOVER

Is this a bug, or am I missing anything here ?

Thanks for your help,

Vincent




More information about the general mailing list