Branch: refs/heads/stable1-proposed-sock
Home:
https://github.com/kronosnet/kronosnet
Commit: 7970a99cc0c4bd659658a731b57dc79d027f6cf1
https://github.com/kronosnet/kronosnet/commit/7970a99cc0c4bd659658a731b57dc…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2021-06-11 (Fri, 11 Jun 2021)
Changed paths:
M libknet/internals.h
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
M libknet/transport_common.c
M libknet/transport_common.h
M libknet/transport_sctp.c
M libknet/transport_udp.c
Log Message:
-----------
send 'correct' sockaddr lengths to socket calls
FreeBSD-devel insists that the length passed into socket calls
matches the expected length of the sockaddr it describes.
So, eg, when passing a sockaddr_in, the length must be sizeof(sockaddr_in)
rather than sizeof(sockaddr_storage) which we were using
Signed-Off-By: Chrissie Caulfield <ccaulfie(a)redhat.com>