[ewg] [PATCH] core: fix ib_detach_mcast to use rdma_node_get_transport

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Sun May 30 00:42:23 PDT 2010


Chien Tung wrote:
> 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;


Applied,

Regards,
Vladimir



More information about the ewg mailing list