[PATCH liburing 0/3] io_uring-udp fix, manpage fix, and hppa cross-compiler

Ammar Faizi posted 3 patches 2 years, 8 months ago
.github/workflows/build.yml |  7 +++++++
examples/io_uring-udp.c     | 14 +++++++++++---
man/io_uring_cqe_get_data.3 |  2 +-
3 files changed, 19 insertions(+), 4 deletions(-)
[PATCH liburing 0/3] io_uring-udp fix, manpage fix, and hppa cross-compiler
Posted by Ammar Faizi 2 years, 8 months ago
Hi Jens,

There are three patches in this series:

1. Fix the wrong IPv6 address in io_uring-udp (me).

Before:

    port bound to 49567
    received 4 bytes 28 from ::2400:6180:0:d1:0:0:47048
    received 4 bytes 28 from ::2400:6180:0:d1:0:0:54755
    received 4 bytes 28 from ::2400:6180:0:d1:0:0:57968

(the IPv6 address is wrong)

After:

    port bound to 48033
    received 4 bytes 28 from [2400:6180:0:d1::6a4:a00f]:40456
    received 4 bytes 28 from [2400:6180:0:d1::6a4:a00f]:50306
    received 4 bytes 28 from [2400:6180:0:d1::6a4:a00f]:52291

2. io_uring_cqe_get_data() manpage fix (me).

The return value of io_uring_cqe_get_data() will be undefined if the
user_data is not set from the SQE side.

3. Add hppa cross-compiler to the CI (Alviro).

Signed-off-by: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
---

Alviro Iskandar Setiawan (1):
  github: Add hppa cross compiler

Ammar Faizi (2):
  io_uring-udp: Fix the wrong IPv6 binary to string conversion
  man/io_uring_cqe_get_data.3: Fix a misleading return value

 .github/workflows/build.yml |  7 +++++++
 examples/io_uring-udp.c     | 14 +++++++++++---
 man/io_uring_cqe_get_data.3 |  2 +-
 3 files changed, 19 insertions(+), 4 deletions(-)


base-commit: 4fed79510a189cc7997f6d04855ebf7fb66cc323
-- 
Ammar Faizi
Re: [PATCH liburing 0/3] io_uring-udp fix, manpage fix, and hppa cross-compiler
Posted by Jens Axboe 2 years, 8 months ago
On 4/15/23 10:59 AM, Ammar Faizi wrote:
> Hi Jens,
> 
> There are three patches in this series:
> 
> 1. Fix the wrong IPv6 address in io_uring-udp (me).
> 
> Before:
> 
>     port bound to 49567
>     received 4 bytes 28 from ::2400:6180:0:d1:0:0:47048
>     received 4 bytes 28 from ::2400:6180:0:d1:0:0:54755
>     received 4 bytes 28 from ::2400:6180:0:d1:0:0:57968
> 
> (the IPv6 address is wrong)
> 
> After:
> 
>     port bound to 48033
>     received 4 bytes 28 from [2400:6180:0:d1::6a4:a00f]:40456
>     received 4 bytes 28 from [2400:6180:0:d1::6a4:a00f]:50306
>     received 4 bytes 28 from [2400:6180:0:d1::6a4:a00f]:52291
> 
> 2. io_uring_cqe_get_data() manpage fix (me).
> 
> The return value of io_uring_cqe_get_data() will be undefined if the
> user_data is not set from the SQE side.
> 
> 3. Add hppa cross-compiler to the CI (Alviro).

Applied, thanks.

-- 
Jens Axboe