Set length field of socket address.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
6af166cc7b
commit
e02ecc60b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bsd_rdma_4_9/; revision=323649
@ -1118,6 +1118,7 @@ static void cma_save_ip6_info(struct sockaddr_in6 *src_addr,
|
||||
{
|
||||
if (src_addr) {
|
||||
*src_addr = (struct sockaddr_in6) {
|
||||
.sin6_len = sizeof(struct sockaddr_in6),
|
||||
.sin6_family = AF_INET6,
|
||||
.sin6_addr = hdr->dst_addr.ip6,
|
||||
.sin6_port = local_port,
|
||||
|
Loading…
Reference in New Issue
Block a user