Hello,
This removes unreachable (and invalid) code from SA Service Record
processing.
Sasha.
Remove invalid (and unreachable) hack - setup of default P_Key in
SA Service Record SET response when pkey is not in comp_mask.
Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---
osm/opensm/osm_sa_service_record.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/osm/opensm/osm_sa_service_record.c
b/osm/opensm/osm_sa_service_record.c
index 207cc82..8c2ccfc 100644
--- a/osm/opensm/osm_sa_service_record.c
+++ b/osm/opensm/osm_sa_service_record.c
@@ -959,12 +959,6 @@ osm_sr_rcv_process_set_method(
goto Exit;
}
- if( (comp_mask & IB_SR_COMPMASK_SPKEY) != IB_SR_COMPMASK_SPKEY)
- {
- /* Set the Default Service P_Key in the response */
- p_recvd_service_rec->service_pkey = IB_DEFAULT_PKEY;
- }
-
p_sr_item->service_rec = *p_recvd_service_rec;
cl_qlist_init(&sr_list);
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general