[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
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; }