svn commit: r298543 - head/sys/ofed/drivers/infiniband/core
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Apr 24 15:56:07 UTC 2016
Author: bz
Date: Sun Apr 24 15:56:05 2016
New Revision: 298543
URL: https://svnweb.freebsd.org/changeset/base/298543
Log:
Fix NOIP kernels to compile.
Modified:
head/sys/ofed/drivers/infiniband/core/cma.c
Modified: head/sys/ofed/drivers/infiniband/core/cma.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/core/cma.c Sun Apr 24 14:49:01 2016 (r298542)
+++ head/sys/ofed/drivers/infiniband/core/cma.c Sun Apr 24 15:56:05 2016 (r298543)
@@ -2319,6 +2319,7 @@ static int cma_bind_addr(struct rdma_cm_
if (!cma_any_addr(src_addr))
return rdma_bind_addr(id, src_addr);
else {
+#if defined(INET6) || defined(INET)
union {
#ifdef INET
struct sockaddr_in in;
@@ -2327,6 +2328,7 @@ static int cma_bind_addr(struct rdma_cm_
struct sockaddr_in6 in6;
#endif
} addr;
+#endif
switch(dst_addr->sa_family) {
#ifdef INET
More information about the svn-src-head
mailing list