| Message ID | 20250523073848.20848-1-gert@greenie.muc.de |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [Openvpn-devel,v3] dco_linux: avoid bogus text when netlink message is not parsed | expand |
"Because it makes sense" :-) - this is one of the messages we can
really live without in the log (and *if* there is something to report,
the platform specific layer do so).
Your patch has been applied to the master branch.
commit 4a48841da2d4179a96348994f841661ec9e5ce1d
Author: Antonio Quartulli
Date: Fri May 23 09:38:41 2025 +0200
dco_linux: avoid bogus text when netlink message is not parsed
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250523073848.20848-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31763.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/src/openvpn/forward.c b/src/openvpn/forward.c index ed4cdb4..7134f30 100644 --- a/src/openvpn/forward.c +++ b/src/openvpn/forward.c @@ -1251,6 +1251,12 @@ dco_do_read(dco); + /* no message for us to handle - platform specific code has logged details */ + if (dco->dco_message_type == 0) + { + return; + } + /* FreeBSD currently sends us removal notifcation with the old peer-id in * p2p mode with the ping timeout reason, so ignore that one to not shoot * ourselves in the foot and removing the just established session */