[LTP] [RFC PATCH v2] syscalls/sendmmsg: add new test

Petr Vorel pvorel@suse.cz
Tue Apr 23 21:50:25 CEST 2019


Hi Steve,

> Known issues/questions:
>  - This test occasionally gets stuck when the two messages get sent by
>    separate sendmmsg calls. The two sendmmsg calls complete successfully
>    but recvmmsg blocks indefinitely. I am not yet sure what would cause
>    this.

>  - I have not used tst_get_unused_port() because I'm unsure of how that
>    function should be made available for both the new and old test API?
>    I can just create a duplicate function but is there a cleaner way?
As I need tst_get_unused_port() as well, I've sent a patch to port it to new API
and available for both new and legacy API via TST_GET_UNUSED_PORT() macro [1].

Kind regards,
Petr

[1] https://patchwork.ozlabs.org/patch/1089695/


More information about the ltp mailing list