This patch remove using padding arrays from cma_multicast structure as
we did in the kernel


Signed-off-by: Aleksey Senin <[EMAIL PROTECTED]>
---
 src/cma.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/cma.c b/src/cma.c
index d4441ce..70dbe1c 100644
--- a/src/cma.c
+++ b/src/cma.c
@@ -140,9 +140,7 @@ struct cma_multicast {
        uint32_t        handle;
        union ibv_gid   mgid;
        uint16_t        mlid;
-       struct sockaddr addr;
-       uint8_t         pad[sizeof(struct sockaddr_in6) -
-                           sizeof(struct sockaddr)];
+       struct sockaddr_storage addr;
 };
 
 struct cma_event {
-- 
1.5.6.dirty


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to