lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <DM6PR15MB2603BF2AA241ECB50ED6E167FA189@DM6PR15MB2603.namprd15.prod.outlook.com>
Date:   Wed, 23 Mar 2022 12:11:38 +0000
From:   Constantine Gavrilov <CONSTG@...ibm.com>
To:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: io_uring_enter() with opcode IORING_OP_RECV ignores MSG_WAITALL in
 msg_flags

I get partial receives on TCP socket, even though I specify MSG_WAITALL 
with IORING_OP_RECV opcode. Looking at tcpdump in wireshark, I see 
entire reassambled packet (+4k), so it is not a disconnect. The MTU is 
smaller than 4k.

From
 the mailing list history, looks like this was discussed before and it 
seems the fix was supposed to be in. Can someone clarify the expected 
behavior?

I do not think rsvmsg() has this issue.

-- 
----------------------------------------
Constantine Gavrilov
Storage Architect
Master Inventor
Tel-Aviv IBM Storage Lab
1 Azrieli Center, Tel-Aviv
----------------------------------------

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ