]> git.proxmox.com Git - mirror_kronosnet.git/commit
[tx] Don't Clear out msghdr for all transports.
authorChristine Caulfield <ccaulfie@redhat.com>
Wed, 22 Jan 2020 15:15:49 +0000 (15:15 +0000)
committerFabio M. Di Nitto <fdinitto@redhat.com>
Fri, 31 Jan 2020 05:29:25 +0000 (06:29 +0100)
commitaddc68224fc88a45fd131470f8fb9b2df3d90376
treed0fbec10e1b54579be5622d778fe634e53518ced
parent042ceba7b1bd021b21da6be0e3ac5eaeaa766638
[tx] Don't Clear out msghdr for all transports.

When sending a message to multiple links, if one of those links
is not connection-oriented then msg_name & msg_namelen would be cleared,
thus breaking the send to any subsequent non-connection-oriented links.

So now, if we need to clear out msg_name & msg_namelen, we take a copy of the
msghdr and edit that instead,
libknet/transport_common.c