From: "ralf_lici (Code Review)" Date: Fri, 28 Nov 2025 09:26:56 +0000 In-Reply-To: References: Reply-To: ralf@...2726..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, gert@...1296... Message-ID: <21b6b976e350370d5d1436bdeb50c6a3ed93bdf6-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="Pdd45IZEtIQ="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: dco: process messages immediately after read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --Pdd45IZEtIQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, plaisthos. Hello cron2, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1403?usp=3Demail to look at the new patch set (#11). Change subject: dco: process messages immediately after read ...................................................................... dco: process messages immediately after read Currently, reading and processing of incoming DCO messages are decoupled: notifications are read, parsed, and the relevant information is stored in fields of dco_context_t for later processing (with the only exception being stats). This approach is problematic on Linux, since libnl does not allow reading a single netlink message at a time, which can result in loss of information when multiple notifications are available. This change adopts a read -> parse -> process paradigm. On Linux, processing is now invoked directly from within the parsing callback, which libnl calls for each received netlink packet. The other interfaces are adapted accordingly to unify the processing model across all platforms. On Linux, however, a DEL_PEER notification from the kernel triggers a GET_PEER request from userspace, which clutters the netlink communication logic and can lead to errors or even process exit when multiple simultaneous DEL_PEER notifications are received. To avoid this, introduce a lock that prevents requesting stats while we are still busy parsing other messages. Reported-by: Stefan Baranoff Change-Id: Iefc251cb4483c0b9fb9d6a5207db4445cd884d52 Signed-off-by: Ralf Lici --- M src/openvpn/dco.h M src/openvpn/dco_freebsd.c M src/openvpn/dco_linux.c M src/openvpn/dco_win.c M src/openvpn/forward.c M src/openvpn/forward.h M src/openvpn/multi.c M src/openvpn/multi.h M src/openvpn/multi_io.c 9 files changed, 91 insertions(+), 46 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/03/1403/11 diff --git a/src/openvpn/dco.h b/src/openvpn/dco.h index e5e8709..cd6e32a 100644 --- a/src/openvpn/dco.h +++ b/src/openvpn/dco.h @@ -127,12 +127,13 @@ void close_tun_dco(struct tuntap *tt, openvpn_net_ctx_t *ctx); /** - * Read data from the DCO communication channel (i.e. a control packet) + * Read and process data from the DCO communication channel + * (i.e. a control packet) * * @param dco the DCO context * @return 0 on success or a negative error code otherwise */ -int dco_do_read(dco_context_t *dco); +int dco_read_and_process(dco_context_t *dco); /** * Install a DCO in the main event loop @@ -305,7 +306,7 @@ } static inline int -dco_do_read(dco_context_t *dco) +dco_read_and_process(dco_context_t *dco) { ASSERT(false); return 0; diff --git a/src/openvpn/dco_freebsd.c b/src/openvpn/dco_freebsd.c index f2a89ac..25deafe 100644 --- a/src/openvpn/dco_freebsd.c +++ b/src/openvpn/dco_freebsd.c @@ -578,7 +578,7 @@ } int -dco_do_read(dco_context_t *dco) +dco_read_and_process(dco_context_t *dco) { struct ifdrv drv; uint8_t buf[4096]; @@ -689,6 +689,15 @@ nvlist_destroy(nvl); + if (dco->c->mode =3D=3D CM_TOP) + { + multi_process_incoming_dco(dco); + } + else + { + process_incoming_dco(dco); + } + return 0; } diff --git a/src/openvpn/dco_linux.c b/src/openvpn/dco_linux.c index 0ae30b1..5d91300 100644 --- a/src/openvpn/dco_linux.c +++ b/src/openvpn/dco_linux.c @@ -49,6 +49,15 @@ #include #include +/* When parsing multiple DEL_PEER notifications, openvpn tries to request = stats + * for each DEL_PEER message (see setenv_stats). This triggers a GET_PEER + * request-reply while we are still parsing the rest of the initial + * notifications, which can lead to NLE_BUSY or even NLE_NOMEM. + * + * This basic lock ensures we don't bite our own tail by issuing a dco_get= _peer + * while still busy receiving and parsing other messages. + */ +static bool __is_locked =3D false; /* libnl < 3.5.0 does not set the NLA_F_NESTED on its own, therefore we * have to explicitly do it to prevent the kernel from failing upon @@ -1094,29 +1103,34 @@ * message, that stores the type-specific attributes. * * the "dco" object is then filled accordingly with the information - * retrieved from the message, so that the rest of the OpenVPN code can - * react as need be. + * retrieved from the message, so that *process_incoming_dco can react + * as need be. */ + int ret; switch (gnlh->cmd) { case OVPN_CMD_PEER_GET: { - return ovpn_handle_peer(dco, attrs); + ret =3D ovpn_handle_peer(dco, attrs); + break; } case OVPN_CMD_PEER_DEL_NTF: { - return ovpn_handle_peer_del_ntf(dco, attrs); + ret =3D ovpn_handle_peer_del_ntf(dco, attrs); + break; } case OVPN_CMD_PEER_FLOAT_NTF: { - return ovpn_handle_peer_float_ntf(dco, attrs); + ret =3D ovpn_handle_peer_float_ntf(dco, attrs); + break; } case OVPN_CMD_KEY_SWAP_NTF: { - return ovpn_handle_key_swap_ntf(dco, attrs); + ret =3D ovpn_handle_key_swap_ntf(dco, attrs); + break; } default: @@ -1125,15 +1139,33 @@ return NL_STOP; } + if (ret !=3D NL_OK) + { + return ret; + } + + if (dco->c->mode =3D=3D CM_TOP) + { + multi_process_incoming_dco(dco); + } + else + { + process_incoming_dco(dco); + } + return NL_OK; } int -dco_do_read(dco_context_t *dco) +dco_read_and_process(dco_context_t *dco) { msg(D_DCO_DEBUG, __func__); - return ovpn_nl_recvmsgs(dco, __func__); + __is_locked =3D true; + int ret =3D ovpn_nl_recvmsgs(dco, __func__); + __is_locked =3D false; + + return ret; } static int @@ -1141,6 +1173,12 @@ { ASSERT(dco); + if (__is_locked) + { + msg(D_DCO_DEBUG, "%s: cannot request peer stats while parsing othe= r messages", __func__); + return 0; + } + /* peer_id =3D=3D -1 means "dump all peers", but this is allowed in MP= mode only. * If it happens in P2P mode it means that the DCO peer was deleted an= d we * can simply bail out diff --git a/src/openvpn/dco_win.c b/src/openvpn/dco_win.c index ca5eedf..94f043f 100644 --- a/src/openvpn/dco_win.c +++ b/src/openvpn/dco_win.c @@ -690,7 +690,7 @@ } int -dco_do_read(dco_context_t *dco) +dco_read_and_process(dco_context_t *dco) { if (dco->ifmode !=3D DCO_MODE_MP) { @@ -727,6 +727,15 @@ break; } + if (dco->c->mode =3D=3D CM_TOP) + { + multi_process_incoming_dco(dco); + } + else + { + process_incoming_dco(dco); + } + return 0; } diff --git a/src/openvpn/forward.c b/src/openvpn/forward.c index ccb8404..1a68af4 100644 --- a/src/openvpn/forward.c +++ b/src/openvpn/forward.c @@ -1243,19 +1243,11 @@ } } -static void -process_incoming_dco(struct context *c) +void +process_incoming_dco(dco_context_t *dco) { #if defined(ENABLE_DCO) && (defined(TARGET_LINUX) || defined(TARGET_FREEBS= D)) - dco_context_t *dco =3D &c->c1.tuntap->dco; - - dco_do_read(dco); - - /* no message for us to handle - platform specific code has logged det= ails */ - if (dco->dco_message_type =3D=3D 0) - { - return; - } + struct context *c =3D dco->c; /* 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 sh= oot @@ -2369,7 +2361,7 @@ { if (!IS_SIG(c)) { - process_incoming_dco(c); + dco_read_and_process(&c->c1.tuntap->dco); } } } diff --git a/src/openvpn/forward.h b/src/openvpn/forward.h index a575faf..9e9b02e 100644 --- a/src/openvpn/forward.h +++ b/src/openvpn/forward.h @@ -210,6 +210,13 @@ const struct sockaddr *float_sa); /** + * Process an incoming DCO message (from kernel space). + * + * @param dco - Pointer to the structure representing the DCO context. + */ +void process_incoming_dco(dco_context_t *dco); + +/** * Write a packet to the external network interface. * @ingroup external_multiplexer * diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c index 2b944667..153695c 100644 --- a/src/openvpn/multi.c +++ b/src/openvpn/multi.c @@ -3263,14 +3263,12 @@ multi_signal_instance(m, mi, SIGTERM); } -bool -multi_process_incoming_dco(struct multi_context *m) +void +multi_process_incoming_dco(dco_context_t *dco) { - dco_context_t *dco =3D &m->top.c1.tuntap->dco; + ASSERT(dco->c->multi); - struct multi_instance *mi =3D NULL; - - int ret =3D dco_do_read(&m->top.c1.tuntap->dco); + struct multi_context *m =3D dco->c->multi; int peer_id =3D dco->dco_message_peer_id; @@ -3279,12 +3277,12 @@ */ if (peer_id < 0) { - return ret > 0; + return; } if ((peer_id < m->max_clients) && (m->instances[peer_id])) { - mi =3D m->instances[peer_id]; + struct multi_instance *mi =3D m->instances[peer_id]; set_prefix(mi); if (dco->dco_message_type =3D=3D OVPN_CMD_DEL_PEER) { @@ -3325,11 +3323,6 @@ "type %d, del_peer_reason %d", peer_id, dco->dco_message_type, dco->dco_del_peer_reason); } - - dco->dco_message_type =3D 0; - dco->dco_message_peer_id =3D -1; - dco->dco_del_peer_reason =3D -1; - return ret > 0; } #endif /* if defined(ENABLE_DCO) */ @@ -4462,4 +4455,4 @@ return (!ipv6_net_contains_host(&ifconfig_local, o->ifconfig_ipv6_netb= its, dest)); -} \ No newline at end of file +} diff --git a/src/openvpn/multi.h b/src/openvpn/multi.h index a62b07a..a44f9f2 100644 --- a/src/openvpn/multi.h +++ b/src/openvpn/multi.h @@ -305,13 +305,9 @@ /** * Process an incoming DCO message (from kernel space). * - * @param m - The single \c multi_context structure. - * - * @return - * - True, if the message was received correctly. - * - False, if there was an error while reading the message. + * @param dco - Pointer to the structure representing the DCO context. */ -bool multi_process_incoming_dco(struct multi_context *m); +void multi_process_incoming_dco(dco_context_t *dco); /*************************************************************************= */ /** diff --git a/src/openvpn/multi_io.c b/src/openvpn/multi_io.c index fe72456..997951e 100644 --- a/src/openvpn/multi_io.c +++ b/src/openvpn/multi_io.c @@ -505,7 +505,7 @@ /* incoming data on DCO? */ else if (e->arg =3D=3D MULTI_IO_DCO) { - multi_process_incoming_dco(m); + dco_read_and_process(&m->top.c1.tuntap->dco); } #endif /* signal received? */ -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1403?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Iefc251cb4483c0b9fb9d6a5207db4445cd884d52 Gerrit-Change-Number: 1403 Gerrit-PatchSet: 11 Gerrit-Owner: ralf_lici Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: cron2 --Pdd45IZEtIQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: cron2, plaisthos.

ralf_lici uploaded patch set #11 to this change.

= View Cha= nge

dco: process messages immediately after read
Currently, reading and processing of incoming DCO messages are
decoupl= ed: notifications are read, parsed, and the relevant information
is stor= ed in fields of dco_context_t for later processing (with the only
except= ion being stats). This approach is problematic on Linux, since
libnl doe= s not allow reading a single netlink message at a time, which
can result= in loss of information when multiple notifications are
available.
This change adopts a read -> parse -> process paradigm. On Linux,processing is now invoked directly from within the parsing callback,
w= hich libnl calls for each received netlink packet. The other interfaces
= are adapted accordingly to unify the processing model across all
platfor= ms.

On Linux, however, a DEL_PEER notification from the kernel trigg= ers a
GET_PEER request from userspace, which clutters the netlink
com= munication logic and can lead to errors or even process exit when
multip= le simultaneous DEL_PEER notifications are received. To avoid
this, intr= oduce a lock that prevents requesting stats while we are still
busy pars= ing other messages.

Reported-by: Stefan Baranoff <stefan.baranoff= @...2970...>
Change-Id: Iefc251cb4483c0b9fb9d6a5207db4445cd884d52
= Signed-off-by: Ralf Lici <ralf@...2726...>
---
M src/openvpn/dc= o.h
M src/openvpn/dco_freebsd.c
M src/openvpn/dco_linux.c
M src/op= envpn/dco_win.c
M src/openvpn/forward.c
M src/openvpn/forward.h
M = src/openvpn/multi.c
M src/openvpn/multi.h
M src/openvpn/multi_io.c9 files changed, 91 insertions(+), 46 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/03/1403/11=
diff --git a/src/openvpn/dco.h b/src/openvpn/dco.h
index e5e8709..cd6e32a 100644
--- a/src/openvpn/dco.h
+++ b/src/openvpn/dco.h
@@ -127,12 +127,13 @@
void close_tun_dco(struct tuntap *tt, openvpn_net_ctx_t *ct= x);

/**
- * Read data from the DCO communication channel (i.e. = a control packet)
+ *= Read and process data from the DCO communication channel
+ * (i.e. a control packet)
= *
* @param dco the DCO context
* @return 0 on success or a negative error code otherwise
*/
-int= dco_do_read(dco_context_t *dco);
+int dco_read_and_process(dco_context_t *dco);

/**
* Install a DCO in the main event= loop
@@ -305,7 +306,7 @@
}

static inline int
-dco_do_read(dco_context_t *dco)
+dco_read_and_process(dco_context_t *dco)

{
ASSERT(false);
retu= rn 0;
diff --git a/src/openvpn/dco_freebsd.c b/src/openvpn/= dco_freebsd.c
index f2a89ac..25deafe 100644
--- a/src/openvpn/dco_freebsd.c
+++ b/src/openvpn/dco_free= bsd.c
@@ -578,7 +578,7 @@
}

int
+dco_read_and_process(dco_context_t *dco)
{<= /span>
struct ifdrv drv;
uint8_t buf[409= 6];
@@ -689,6 +689,15 @@

= nvlist_destroy(nvl);

+ if (dco->c->mode =3D=3D CM_TOP)+ {
+ multi_process_incoming_dco(dco);<= /span>
+ }
+ else

+ {
+ process_incoming_dco(dco);
+ }
+
return 0;
}<= br>
diff --git a/src/openvpn/dco_linux.c b/src/openv= pn/dco_linux.c
index 0ae30b1..5d91300 100644
--- a/src/openvpn/dco_linux.c

+++ b/src/openvpn/dco_linux= .c
@@ -49,6 +49,15 @@
#include <netlink= /genl/family.h>
#include <netlink/genl/ctrl.h>

+/* W= hen parsing multiple DEL_PEER notifications, openvpn tries to request stats=
+ * for each DEL_PEE= R message (see setenv_stats). This triggers a GET_PEER
+ * request-reply while we are still pars= ing the rest of the initial
+ * notifications, which can lead to NLE_BUSY or even NLE_NOMEM.
+ *
+ * This basic lock ensures we don't = bite our own tail by issuing a dco_get_peer
+ * while still busy receiving and parsing other mes= sages.
+ */+static bool __is_locked =3D f= alse;

/* libnl < 3.5.0 does not set t= he NLA_F_NESTED on its own, therefore we
* have to explic= itly do it to prevent the kernel from failing upon
@@ -1094= ,29 +1103,34 @@
* message, that stores the type-speci= fic attributes.
*
* the "d= co" object is then filled accordingly with the information
<= span style=3D"color: hsl(0, 100%, 40%);">- * retrieved from the message= , so that the rest of the OpenVPN code can

- * react as need be.
+ * retrieved from the message, so that *proce= ss_incoming_dco can react
+ * as need be.
*/
+ int ret;
switch (gnl= h->cmd)
{
case OVPN_CMD_PE= ER_GET:
{
- return ovpn_handle_peer(dco, attrs);
+ ret =3D ovpn_handle_p= eer(dco, attrs);

+ = break;
}

case OVPN_CMD_PEER_DEL_NTF:
{- return ovpn_handle_= peer_del_ntf(dco, attrs);
+ ret =3D ovpn_handle_peer_del_ntf(dco, attrs);
<= span style=3D"color: hsl(120, 100%, 40%);">+ break;
}

case OVPN_CMD_PEE= R_FLOAT_NTF:
{
- return ovpn_handle_peer_float_ntf(dco, attrs)= ;
+ ret = =3D ovpn_handle_peer_float_ntf(dco, attrs);
+ break;
}


case OVPN_CMD_KEY_SWAP_NTF: {
- = return ovpn_handle_key_swap_ntf(dco, attrs);
+ ret =3D ovpn_handle_key_swap_= ntf(dco, attrs);
+ = break;
}

default:
@@ -1125,15 +1139,33 @@
return NL_STOP;
}

+ if (ret !=3D NL_OK)<= /span>
+ {
+ return ret;

+ }
+
+ if (dco->c->mode =3D=3D CM_TOP)
+ {
+ multi_process_incoming_dco(dco);
+ }
+ else
+ {
+ = process_incoming_dco(dco);
+ }
+<= /span>
return NL_OK;
}

int
-dco_= do_read(dco_context_t *dco)
+dco_read_and_process(dco_context_t *dco)
{<= br> msg(D_DCO_DEBUG, __func__);

- return ovpn_nl_recvmsgs(dco, __fu= nc__);

+ __is_lock= ed =3D true;
+ int= ret =3D ovpn_nl_recvmsgs(dco, __func__);
+ __is_locked =3D false;
+
+ return ret;
}

static int

@@ -1141,6 +1173,12 @@
{
ASSERT(dco);

+ if (__is_locked)
+ {
+ msg(D_DCO_DEBUG, "%s: cannot request peer = stats while parsing other messages", __func__);
+ return 0;
+ }
+
/* peer_id =3D=3D -1 means "= dump all peers", but this is allowed in MP mode only.
= * If it happens in P2P mode it means that the DCO peer was deleted an= d we
* can simply bail out
diff --git= a/src/openvpn/dco_win.c b/src/openvpn/dco_win.c
index ca5e= edf..94f043f 100644
--- a/src/openvpn/dco_win.c
<= span>+++ b/src/openvpn/dco_win.c

@@ -690,7 +690,7 @@=
}

int
-dco_do_read(dco_context_t *dco)
<= span style=3D"color: hsl(120, 100%, 40%);">+dco_read_and_process(dco_contex= t_t *dco)
{
if (dco->ifmode !=3D D= CO_MODE_MP)
{
@@ -727,6 +727,15 @@
break;
}

+ if (dco->c->= ;mode =3D=3D CM_TOP)
= + {
+ multi= _process_incoming_dco(dco);
+ }
+ el= se
+ {
<= span style=3D"color: hsl(120, 100%, 40%);">+ process_incoming_dco(dc= o);

+ }
= +
return 0= ;
}

diff --git a/src/ope= nvpn/forward.c b/src/openvpn/forward.c
index ccb8404..1a68a= f4 100644
--- a/src/openvpn/forward.c
+++ b= /src/openvpn/forward.c
@@ -1243,19 +1243,11 @@
}

}

-static void
-process_incoming_dco(struct context *c)
+void
+process_incoming_dco(dco_context_t *dco)
{
#if defined(ENABLE_DCO) && (defined(TARGET_L= INUX) || defined(TARGET_FREEBSD))
- dco_context_t *dco =3D &c->c1.tuntap->dco;=
-
- dco_do_read(dco);
-
- /* no message for us to handle - platform specific code has logged= details */
- if (dc= o->dco_message_type =3D=3D 0)
- {
- = return;
- }
+ struct context *c =3D= dco->c;

/* FreeBSD currently sen= ds us removal notifcation with the old peer-id in
* p= 2p mode with the ping timeout reason, so ignore that one to not shoot
@@ -2369,7 +2361,7 @@
{
= if (!IS_SIG(c))
{
- process_incoming_dco(c);
<= span style=3D"color: hsl(120, 100%, 40%);">+ dco_read_and_proces= s(&c->c1.tuntap->dco);

}
}

}
diff --git a/src/openvpn/forward= .h b/src/openvpn/forward.h
index a575faf..9e9b02e 100644
--- a/src/openvpn/forward.h
+++ b/src/openvpn= /forward.h
@@ -210,6 +210,13 @@
= const struct sockaddr *float_sa);
<= /span>
/**
= + * Process an incoming DCO message (from kernel space).
+ *
+ * @param dco - Pointer to the structure representing t= he DCO context.
+ */<= /span>
+void process_incomin= g_dco(dco_context_t *dco);
+
+/** * Write a packet to the external network interface.
* @ingroup external_multiplexer

*
di= ff --git a/src/openvpn/multi.c b/src/openvpn/multi.c
index = 2b944667..153695c 100644
--- a/src/openvpn/multi.c+++ b/src/openvpn/multi.c
@@ -3263,14 +3263,12 @@
multi_signal_instance(m, mi, SIGTERM);
= }

-b= ool
-multi_process_inco= ming_dco(struct multi_context *m)
+void
+m= ulti_process_incoming_dco(dco_context_t *dco)
{
= - dco_context_t *dco =3D &= m->top.c1.tuntap->dco;
+ ASSERT(dco->c->multi);

- struct multi_instance *mi =3D NUL= L;

-
- int ret =3D dco_do_read(&m->t= op.c1.tuntap->dco);
- return ret > 0;+ return;
}


if ((peer_id < m->m= ax_clients) && (m->instances[peer_id]))
{
- mi =3D m->in= stances[peer_id];
+ = struct multi_instance *mi =3D m->instances[peer_id];
set_prefix(mi);

if (dco->dco_messag= e_type =3D=3D OVPN_CMD_DEL_PEER)
{
@@ -3325,11 +3323,6 @@

"type %d, del_pee= r_reason %d",
peer_id, dco->dco_messag= e_type, dco->dco_del_peer_reason);
}
-
- dco->dco_message_type =3D 0;
- dco->dco_message_peer_id =3D -1;

- dco->dco_del_peer_= reason =3D -1;
- ret= urn ret > 0;
}
#endif /* if defined(EN= ABLE_DCO) */

@@ -4462,4 +4455,4 @@=

return (!ipv6_net_contains_host(&ifcon= fig_local, o->ifconfig_ipv6_netbits,
= dest));
-}
\ No newline at end of file
+}
diff --git a/src/openvpn/mu= lti.h b/src/openvpn/multi.h
index a62b07a..a44f9f2 100644
--- a/src/openvpn/multi.h
+++ b/src/openvpn/= multi.h
@@ -305,13 +305,9 @@
/** * Process an incoming DCO message (from kernel space).
<= span> *

- * @param m = - The single \c multi_context structure.
- *
- * @return
- = * - True, if the message was received correctly.
- * - False, if there was an error while readin= g the message.
+ * @p= aram dco - Pointer to the structure representing the DCO context. */
-bool multi= _process_incoming_dco(struct multi_context *m);
+void multi_process_incoming_dco(dco_context_t *= dco);

/*********************************= *****************************************/
/**
<= span>diff --git a/src/openvpn/multi_io.c b/src/openvpn/multi_io.cindex fe72456..997951e 100644
--- a/src/openvpn/mult= i_io.c
+++ b/src/openvpn/multi_io.c
@@ -505= ,7 +505,7 @@
/* incoming data on DCO? */
else if (e->arg =3D=3D MULTI_IO_DCO)
{
- multi_process_incoming_dco(m);
+ dco_read_and_p= rocess(&m->top.c1.tuntap->dco);

= }
#endif
/* signal receiv= ed? */

To view, visit change 1403. To unsub= scribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iefc251cb4483c0b9fb9d6a5207d= b4445cd884d52
Gerrit-Change-Number: 1403
Gerrit-PatchSet: 11
Gerrit-Owner: ralf_lici <ralf@...2726...>= ;
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
= --Pdd45IZEtIQ=--