[openib-general] [PATCH] mad: Fix previous patch again

Hal Rosenstock halr at voltaire.com
Tue Nov 2 07:53:26 PST 2004


mad: Fix previous patch again (bad_send_wr validation in
ib_post_send_mad)

Index: mad.c
===================================================================
--- mad.c	(revision 1111)
+++ mad.c	(working copy)
@@ -369,7 +369,7 @@
 	struct ib_mad_port_private	*port_priv;
 
 	/* Validate supplied parameters */
-	if (!*bad_send_wr)
+	if (!bad_send_wr)
 		goto error1;
 
 	if (!mad_agent || !send_wr )






More information about the general mailing list