summaryrefslogtreecommitdiffstats
path: root/sys/ofed/drivers/infiniband/core/addr.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2013-09-29 00:35:03 +0000
committeralfred <alfred@FreeBSD.org>2013-09-29 00:35:03 +0000
commit91eb2b78a7e56a727c14039b1a0e05969398f2b5 (patch)
tree2c8631892ad121ada16a812ddbfd631e44299298 /sys/ofed/drivers/infiniband/core/addr.c
parent7e9b42c4d312afe32b30e8c1e60ccd6a47158fe3 (diff)
downloadFreeBSD-src-91eb2b78a7e56a727c14039b1a0e05969398f2b5.zip
FreeBSD-src-91eb2b78a7e56a727c14039b1a0e05969398f2b5.tar.gz
Update OFED to Linux 3.7 and update Mellanox drivers.
Update the OFED Infiniband core to the version supplied in Linux version 3.7. The update to OFED is nearly all additional defines and functions with the exception of the addition of additional parameters to ib_register_device() and the reg_user_mr callback. In addition the ibcore (Infiniband core) and ipoib (IP over Infiniband) have both been made into completely loadable modules to facilitate testing of the OFED stack in FreeBSD. Finally the Mellanox Infiniband drivers are now updated to the latest version shipping with Linux 3.7. Submitted by: Mellanox FreeBSD driver team: Oded Shanoon (odeds mellanox.com), Meny Yossefi (menyy mellanox.com), Orit Moskovich (oritm mellanox.com) Approved by: re
Diffstat (limited to 'sys/ofed/drivers/infiniband/core/addr.c')
-rw-r--r--sys/ofed/drivers/infiniband/core/addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/core/addr.c b/sys/ofed/drivers/infiniband/core/addr.c
index a467807..0048c7c 100644
--- a/sys/ofed/drivers/infiniband/core/addr.c
+++ b/sys/ofed/drivers/infiniband/core/addr.c
@@ -356,7 +356,7 @@ static int addr_resolve(struct sockaddr *src_in,
u_char edst[MAX_ADDR_LEN];
int multi;
int bcast;
- int error;
+ int error = 0;
/*
* Determine whether the address is unicast, multicast, or broadcast
OpenPOWER on IntegriCloud