io_uring-echo-server icon indicating copy to clipboard operation
io_uring-echo-server copied to clipboard

Fix failed reads returning a buffer they never got

Open barr-israel opened this issue 7 months ago • 0 comments

When a read fails, it is not allocated a buffer and the BID is set to 0, before this fix, this causes the program to return buffer 0 to the available buffers and can cause multiple future SQEs to get the same buffer 0.

Fixes #23

barr-israel avatar Jun 18 '25 11:06 barr-israel