[ovs-git] [openvswitch/ovs] b9b7b9: socket-util: Emulate recvmmsg() and sendmmsg() on ...

Ben Pfaff noreply at github.com
Tue Jan 14 18:37:41 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b9b7b989d105dc42514afafeff6341f3a04e398c
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M lib/socket-util.c
    M lib/socket-util.h

  Log Message:
  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 mailing list