Branch: refs/heads/sockaddr-size
Home:
https://github.com/kronosnet/kronosnet
Commit: f9cf5cddc8ff8d13945f0aa01710386eb52eeb4f
https://github.com/kronosnet/kronosnet/commit/f9cf5cddc8ff8d13945f0aa017103…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2021-06-10 (Thu, 10 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>