[ovs-git] [openvswitch/ovs] b9b7b9: socket-util: Emulate recvmmsg() and sendmmsg() on ...
noreply at github.com
Tue Jan 14 18:37:41 UTC 2020
Author: Ben Pfaff <blp at ovn.org>
Date: 2020-01-14 (Tue, 14 Jan 2020)
socket-util: Emulate recvmmsg() and sendmmsg() on Linux only.
These functions failed to build on OS X because MSG_WAITFORONE is not
defined there. There are pitfalls for trying to define our own MSG_*
constants, since it's hard to pick a constant that is not used by the
system already. Because OVS only uses recvmmsg() and sendmmsg() on
Linux, it seems easiest to just emulate them there.
Reported-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git