[ewg] [PATCH] core: fix ib_detach_mcast to use rdma_node_get_transport
Chien Tung
chien.tin.tung at intel.com
Thu May 27 13:34:54 PDT 2010
Signed-off-by: Chien Tung <chien.tin.tung at intel.com>
---
kernel_patches/fixes/core_0550_ima.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel_patches/fixes/core_0550_ima.patch b/kernel_patches/fixes/core_0550_ima.patch
index 1ee5042..8d06504 100755
--- a/kernel_patches/fixes/core_0550_ima.patch
+++ b/kernel_patches/fixes/core_0550_ima.patch
@@ -44,7 +44,7 @@ Index: ofed_kernel-fixes/drivers/infiniband/core/verbs.c
- if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD)
- return -EINVAL;
-+ switch (qp->device->node_type) {
++ switch (rdma_node_get_transport(qp->device->node_type)) {
+ case RDMA_TRANSPORT_IB:
+ if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD)
+ return -EINVAL;
--
1.6.4.2
More information about the ewg
mailing list