[ofa-general] ***SPAM*** [PATCH] infiniband-diags/vendstat.c: Add missing mad_rpc_close_port call

Hal Rosenstock hnrose at comcast.net
Wed Mar 11 06:29:19 PDT 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>

---
diff --git a/infiniband-diags/src/vendstat.c b/infiniband-diags/src/vendstat.c
index d001a01..0f09039 100644
--- a/infiniband-diags/src/vendstat.c
+++ b/infiniband-diags/src/vendstat.c
@@ -247,5 +247,6 @@ int main(int argc, char **argv)
 				       ntohl(cs->record[i].data));
 	}
 
+	mad_rpc_close_port(srcport);
 	exit(0);
 }



More information about the general mailing list