[ofa-general] [RMDA CM IPv6 support. PATCHv4 1/6] AF_INET6 support for rdma_bind_addr

Aleksey Senin alekseys at voltaire.com
Sun Nov 30 00:24:40 PST 2008


You are right, this one should be, probably, applied as last in the
series. And the first should be this one:

> static int cma_bind_any(struct rdma_cm_id *id, sa_family_t af)
>  {
> -       struct sockaddr_in addr_in;
> +       struct sockaddr_storage addr_in;
> 
>         memset(&addr_in, 0, sizeof addr_in);
> -       addr_in.sin_family = af;
> +       addr_in.ss_family = af;
>         return rdma_bind_addr(id, (struct sockaddr *) &addr_in);
>  }
> 

But.. All other patches depends one on another, and in my opinion better
to apply it all together, otherwise, when separated, all those 'if'
statements have no sense.
So, I'll be waiting for Sean input too.



More information about the general mailing list