[ofa-general] IPv6 RDMA CM PATCHv2
Aleksey Senin
alekseys at voltaire.com
Sun Aug 10 23:15:11 PDT 2008
>From bef62874ab2205affd690685b358edcafdd5cf9f Mon Sep 17 00:00:00 2001
From: Aleksey Senin <alekseys at voltaire.com>
Date: Mon, 4 Aug 2008 17:47:04 +0300
Subject: [IPv6 RDMA CM PATCHv2 1/8]
Using sockaddr_storage instead of padding arrays in addr_req structure
Signed-off-by: Aleksey Senin <alekseys at voltaire.com>
---
drivers/infiniband/core/addr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c
index 09a2bec..c5b623b 100644
--- a/drivers/infiniband/core/addr.c
+++ b/drivers/infiniband/core/addr.c
@@ -49,8 +49,8 @@ MODULE_LICENSE("Dual BSD/GPL");
struct addr_req {
struct list_head list;
- struct sockaddr src_addr;
- struct sockaddr dst_addr;
+ struct sockaddr_storage src_addr;
+ struct sockaddr_storage dst_addr;
struct rdma_dev_addr *addr;
struct rdma_addr_client *client;
void *context;
--
1.5.6.dirty
More information about the general
mailing list