@@ -56,7 +56,7 @@ config INFINIBAND_ADDR_TRANS
config INFINIBAND_ADDR_TRANS_CONFIGFS
bool
- depends on INFINIBAND_ADDR_TRANS && !(INFINIBAND=y && CONFIGFS_FS=m)
+ depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS &&
!(INFINIBAND=y && CONFIGFS_FS=m)
default y
---help---
ConfigFS support for RDMA communication manager (CM).
Author: Matan Barak <matanb@mellanox.com>
Date: Thu Dec 10 19:34:32 2015 +0200
fixup! IB/core: Validate route in ib_init_ah_from_wc and
ib_init_ah_from_path
@@ -326,7 +326,7 @@ static int addr_resolve_neigh(struct dst_entry *dst,
return ret;
}
- /* If the device does ARP internally */
+ /* If the device doesn't do ARP internally */
if (!(dst->dev->flags & IFF_NOARP)) {
const struct sockaddr_in *dst_in4 =
(const struct sockaddr_in *)dst_in;
@@ -494,7 +494,7 @@ int rdma_resolve_ip_route(struct sockaddr *src_addr,
const struct sockaddr *dst_addr,
struct rdma_dev_addr *addr)
{
- struct sockaddr_storage ssrc_addr;
+ struct sockaddr_storage ssrc_addr = {};
struct sockaddr *src_in = (struct sockaddr *)&ssrc_addr;
if (src_addr->sa_family != dst_addr->sa_family)