Branch: refs/heads/pmtu-fixes Home: https://github.com/kronosnet/kronosnet Commit: e25cd37fd438507b10b54af55271f6e115d9ecbe https://github.com/kronosnet/kronosnet/commit/e25cd37fd438507b10b54af55271f6... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2017-11-26 (Sun, 26 Nov 2017)
Changed paths: M libknet/host.c M libknet/threads_heartbeat.c M libknet/threads_pmtud.c M libknet/threads_rx.c M libknet/transport_sctp.c
Log Message: ----------- [pmtud] fix handling of errno and savederrno
also, during debugging it turned out that sendto does not reset errno on successful run, returning the status from the previous error. While that's hardly a problem, it makes debugging more interesting, so let's reset errno before each call to sendto.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com