Thread (64 messages) 64 messages, 8 authors, 2006-07-06
STALE7269d

[PATCH 11 of 39] IB/ipath - return an error for unknown multicast GID

From: Bryan O'Sullivan <hidden>
Date: 2006-06-29 22:03:15
Also in: lkml

Signed-off-by: Robert Walsh <redacted>
Signed-off-by: Bryan O'Sullivan <redacted>

diff -r 160e5cf91761 -r 1e1f3da0e78d drivers/infiniband/hw/ipath/ipath_verbs_mcast.c
--- a/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c	Thu Jun 29 14:33:25 2006 -0700
+++ b/drivers/infiniband/hw/ipath/ipath_verbs_mcast.c	Thu Jun 29 14:33:25 2006 -0700
@@ -273,7 +273,7 @@ int ipath_multicast_detach(struct ib_qp 
 	while (1) {
 		if (n == NULL) {
 			spin_unlock_irqrestore(&mcast_lock, flags);
-			ret = 0;
+			ret = -EINVAL;
 			goto bail;
 		}
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help