Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sendmmsg() on NetBSD vs Linux
jan.vcelak%nic.cz@localhost (=?UTF-8?B?SmFuIFbEjWVsw6Fr?=) writes:
>I've found that the problem is in the newly added sendmmsg() interface.
>It's behavior slightly differs from the implementation in Linux. The
>sendmmsg() on NetBSD modifies the msg_hdr.msg_iov member of the supplied
>struct mmsg_hdr, which doesn't happen on Linux.
That is a bug in the NetBSD sendmmsg() implementation.
The code copies back the structure to the caller to pass modifications
to the msg_len element. But the msg_hdr.msg_iov pointer has been
changed to point to a copy of the iov structure on the kernel stack.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index