Re: [PATCH 9/9] ib/addr: fix ipv6 routing lookup

Jason Gunthorpe
2009-11-24T06:56:58Z

On Mon, Nov 23, 2009 at 07:43:34PM -0800, Sean Hefty wrote:
> >The sin6_scope_id must be ignored in all cases except LL
> >addresses. Fixing this will break the path that sets the bound_dev_if
> >starting from rdma_resolve_addr. This is why my version was setting
> >bound_dev_if directly in rdma_resolve_addr.
> >
> >Did you change it to be like this because you found something wrong
> >with the way things were in my big patch?
>
> I was wanting to have all of the code paths go through rdma_bind_addr(), with
> source address checks there to things as easy to follow as possible.

OK. Then I'll send a patch to do it the other way, processing
sin6_scope_id for the non-link-local case is worth fixing.

Jason