]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: Fixed BUG2207 - EINVAL when connect after IPv6 bind
authorAmir Vadai <amirv@mellanox.co.il>
Tue, 11 Jan 2011 13:16:51 +0000 (15:16 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:40 +0000 (05:05 -0700)
commit0e9b153c292ca165432a1d9b606d18d466dc50db
tree5a795aaf350479a00977c6fd7fdf9138f9561e63
parent4107ed2f261b3a86bd54a38b0a428b2426e57d6a
sdp: Fixed BUG2207 - EINVAL when connect after IPv6 bind

Connect to IPv4 over IPv6 address need rdma id to be created with IPv4 address.
If bound before with IPv6 adderss, need to destroy and recreate the id.
Also, when connecting after bind, keep the same source port number.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_main.c