Skip to contentSkip to conversation

opensm/osm_subnet.c: Only parameters that marked with can_update flag should be updated during conf file rescan

PATCH New Alex Netes 1 participant 1 message Oct 24, 2012 InfiniBand

lore
Share & tools
lore

Alex Netes

author
#0 lore raw

PATCH 1/1 opensm/osm_subnet.c: Only parameters that marked with can_update flag should be updated during conf file rescan

---
 opensm/osm_subnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
opensm/osm_subnet.c +1 -1
index b9a491b..541105a 100644
@@ -2168,7 +2168,7 @@ int osm_subn_rescan_conf_files(IN osm_subn_t * p_subn)
 
 			token_matched = 1;
 
-			if (strcmp(r->name, p_key))
+			if (!r->can_update || strcmp(r->name, p_key))
 				continue;
 
 			p_field1 = (void *)p_opts->file_opts + r->opt_offset;
Signature · 6 lines
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html