Re: [PATCH rdma-next] IB/cma: Family of destination address should be equal to family of source address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-02-14 at 07:24 +0200, Leon Romanovsky wrote:
> From: Moni Shoua <monis@xxxxxxxxxxxx>
> 
> The destination address in a listening rdma_id does not have an
> address
> family. Since address family in both sides of a connection must be
> the
> same in rdma_bind_addr() we set the address family of the destination
> to
> the address family of the source.
> 
> This patch serves the logic in cma_port_is_unique() which requires to
> know if destination address that is associated with a rdma_id is any
> address
> (cma_zero_addr() and cma_loopback_addr()).
> 
> This can happen when port reuse is checked for a port number
> that is being listened to.
> 
> Fixes: 19b752a19dce ("IB/cma: Allow port reuse for rdma_id")
> Signed-off-by: Moni Shoua <monis@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx>

Thanks, applied.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux