Roland Dreier wrote:
applied, although:
> +static void is_loopback_dst(struct iw_cm_id *cm_id)
> +{
> + struct net_device *dev;
> +
> + dev = ip_dev_find(_net, cm_id->remote_addr.sin_addr.s_addr);
> + if (!dev)
> + return 0;
> + dev_put(dev);
> + return 1;
> +}
is there any
applied, although:
> +static void is_loopback_dst(struct iw_cm_id *cm_id)
> +{
> +struct net_device *dev;
> +
> +dev = ip_dev_find(_net, cm_id->remote_addr.sin_addr.s_addr);
> +if (!dev)
> +return 0;
> +dev_put(dev);
> +return 1;
> +}
is there any
RDMA/cxgb3: Fail loopback connections.
The cxgb3 HW and driver don't support loopback RDMA connections. So fail
any connection attempt where the destination address is local.
Signed-off-by: Steve Wise <[EMAIL PROTECTED]>
---
drivers/infiniband/hw/cxgb3/iwch_cm.c | 16
1
applied, although:
+static void is_loopback_dst(struct iw_cm_id *cm_id)
+{
+struct net_device *dev;
+
+dev = ip_dev_find(init_net, cm_id-remote_addr.sin_addr.s_addr);
+if (!dev)
+return 0;
+dev_put(dev);
+return 1;
+}
is there any way this
Roland Dreier wrote:
applied, although:
+static void is_loopback_dst(struct iw_cm_id *cm_id)
+{
+ struct net_device *dev;
+
+ dev = ip_dev_find(init_net, cm_id-remote_addr.sin_addr.s_addr);
+ if (!dev)
+ return 0;
+ dev_put(dev);
+ return 1;
+}
is there any way
RDMA/cxgb3: Fail loopback connections.
The cxgb3 HW and driver don't support loopback RDMA connections. So fail
any connection attempt where the destination address is local.
Signed-off-by: Steve Wise [EMAIL PROTECTED]
---
drivers/infiniband/hw/cxgb3/iwch_cm.c | 16
1
6 matches
Mail list logo