Change in openvpn[master]: multi_io: drop the read cases from multi_io_wait_lite()
A message that is not in the archive (sent off-list or not yet received): gerrit.1793094393000.I1abb10515665e1d6351689d2c2dd9d4aba8bb98e@gerrit.openvpn.net
Attention is currently required from: Arne Schwabe.
Hello Arne Schwabe,
I'd like you to do a code review.
Please visit
https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
to review the following change.
Change subject: multi_io: drop the read cases from multi_io_wait_lite()
......................................................................
multi_io: drop the read cases from multi_io_wait_lite()
multi_io_action() only polls before writes: reads are dispatched with poll false, both from the event loop and when chaining a tun read after a write. The TA_TUN_READ and TA_SOCKET_READ cases of multi_io_wait_lite() are never reached.
---
M src/openvpn/multi_io.c
1 file changed, 0 insertions(+), 12 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/44/2044/1
src/openvpn/multi_io.c +0 -12
@@ -235,18 +235,6 @@switch (action) { -case TA_TUN_READ : - looking_for =TUN_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_TUN ); -break ; - -case TA_SOCKET_READ : - looking_for =SOCKET_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_LINK ); -break ; -case TA_TUN_WRITE : looking_for =TUN_WRITE ; tun_input_pending =NULL ;
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e
Gerrit-Change-Number: 2044
Gerrit-PatchSet: 1
Gerrit-Owner: Gianmarco De Gregori <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Attention is currently required from: Arne Schwabe, Gianmarco De Gregori.
Răzvan Cojocaru has posted comments on this change by Gianmarco De Gregori. ( https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email )
Change subject: multi_io: drop the read cases from multi_io_wait_lite()
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e
Gerrit-Change-Number: 2044
Gerrit-PatchSet: 1
Gerrit-Owner: Gianmarco De Gregori <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Gianmarco De Gregori <[email protected]>
Gerrit-Comment-Date: Tue, 27 Oct 2026 10:53:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
PATCH 1/1 multi_io: drop the read cases from multi_io_wait_lite()
In reply to a message not in the archiveFrom: Gianmarco De Gregori <[email protected]>
multi_io_action() only polls before writes: reads are dispatched with poll false, both from the event loop and when chaining a tun read after a write. The TA_TUN_READ and TA_SOCKET_READ cases of multi_io_wait_lite() are never reached.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2044
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2044
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Razvan Cojocaru <[email protected]>
src/openvpn/multi_io.c +0 -12
@@ -235,18 +235,6 @@switch (action) { -case TA_TUN_READ : - looking_for =TUN_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_TUN ); -break ; - -case TA_SOCKET_READ : - looking_for =SOCKET_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_LINK ); -break ; -case TA_TUN_WRITE : looking_for =TUN_WRITE ; tun_input_pending =NULL ;
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
[Openvpn-devel] [PATCH applied] Re: multi_io: drop the read cases from multi_io_wait_lite()
This is actually a real change, not just moving stuff around - but then, it's not real real change, it just removes code that is never reached...
Stared at this for a bit (and tried to follow reverse code paths...), and BB is all green...
Your patch has been applied to the master branch.
commit 2f76edfe75953313a1af503ae85c68409ec840e5
Author: Gianmarco De Gregori Date: Tue Oct 27 13:44:02 2026 +0100
multi_io: drop the read cases from multi_io_wait_lite()
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2044
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40196.html
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email )
Change subject: multi_io: drop the read cases from multi_io_wait_lite()
......................................................................
multi_io: drop the read cases from multi_io_wait_lite()
multi_io_action() only polls before writes: reads are dispatched with poll false, both from the event loop and when chaining a tun read after a write. The TA_TUN_READ and TA_SOCKET_READ cases of multi_io_wait_lite() are never reached.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2044
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40196.html
---
M src/openvpn/multi_io.c
1 file changed, 0 insertions(+), 12 deletions(-)
src/openvpn/multi_io.c +0 -12
@@ -235,18 +235,6 @@switch (action) { -case TA_TUN_READ : - looking_for =TUN_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_TUN ); -break ; - -case TA_SOCKET_READ : - looking_for =SOCKET_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_LINK ); -break ; -case TA_TUN_WRITE : looking_for =TUN_WRITE ; tun_input_pending =NULL ;
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e
Gerrit-Change-Number: 2044
Gerrit-PatchSet: 2
Gerrit-Owner: Gianmarco De Gregori <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Gert Doering has uploaded a new patch set (#2) to the change originally created by Gianmarco De Gregori. ( https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by Răzvan Cojocaru
Change subject: multi_io: drop the read cases from multi_io_wait_lite()
......................................................................
multi_io: drop the read cases from multi_io_wait_lite()
multi_io_action() only polls before writes: reads are dispatched with poll false, both from the event loop and when chaining a tun read after a write. The TA_TUN_READ and TA_SOCKET_READ cases of multi_io_wait_lite() are never reached.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2044
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg40196.html
---
M src/openvpn/multi_io.c
1 file changed, 0 insertions(+), 12 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/44/2044/2
src/openvpn/multi_io.c +0 -12
@@ -235,18 +235,6 @@switch (action) { -case TA_TUN_READ : - looking_for =TUN_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_TUN ); -break ; - -case TA_SOCKET_READ : - looking_for =SOCKET_READ ; - tun_input_pending =NULL ; -io_wait (c,IOW_READ_LINK ); -break ; -case TA_TUN_WRITE : looking_for =TUN_WRITE ; tun_input_pending =NULL ;
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2044?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I1abb10515665e1d6351689d2c2dd9d4aba8bb98e
Gerrit-Change-Number: 2044
Gerrit-PatchSet: 2
Gerrit-Owner: Gianmarco De Gregori <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel