HomeClusterLabs Projects

[tx] Don't Clear out msghdr for all transports.

Description

[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,

Details

Provenance
chrissie-cAuthored on Jan 22 2020, 10:15 AM
fabbioneCommitted on Jan 31 2020, 3:53 AM
Parents
rK453f5eb45fe9: [rx] Don't return 512 EOF messages from _recvmmsg
Branches
Unknown
Tags
Unknown

Event Timeline