Commit 9edbd990 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan Committed by Linus Torvalds
Browse files

[PATCH] IB/ipath: return an error for unknown multicast GID

Signed-off-by: default avatarRobert Walsh <>
Signed-off-by: default avatarBryan O'Sullivan <>
Cc: "Michael S. Tsirkin" <>
Cc: Roland Dreier <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 60460dfd
......@@ -273,7 +273,7 @@ int ipath_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
while (1) {
if (n == NULL) {
spin_unlock_irqrestore(&mcast_lock, flags);
ret = 0;
ret = -EINVAL;
goto bail;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment