On Tue, Jun 09, 2020 at 10:42:13AM +0200, Martin Pieuchot wrote:
> >
> > [skip]
> >
> > + pxi->pxi_ifcontext.ifnet_this = ifp;
> > + pxi->pxi_ifcontext.pipexmode = PIPEX_ENABLED;
> > +
> > + error = pipex_init_session(session, req, &pxi->pxi_ifcontext);
>
> Can you make pipex_init_session()
On 08/06/20(Mon) 15:09, Vitaliy Makkoveev wrote:
> On Mon, Jun 08, 2020 at 12:49:05PM +0300, Vitaliy Makkoveev wrote:
> > [...]
> > There is another way to rewrite pppx_add_session() and
> > pipex_add_session(). We can split pipex_add_session() to two
> > functions: pipex_init_session() and pipex_
On Mon, Jun 08, 2020 at 12:49:05PM +0300, Vitaliy Makkoveev wrote:
>
>
> > On 8 Jun 2020, at 11:34, Martin Pieuchot wrote:
> >
> > On 29/05/20(Fri) 13:22, Vitaliy Makkoveev wrote:
> >> This time pppx_add_session() has mixed initialisation order. It starts
> >> to initialise pipex(4) session, th
> On 8 Jun 2020, at 11:34, Martin Pieuchot wrote:
>
> On 29/05/20(Fri) 13:22, Vitaliy Makkoveev wrote:
>> This time pppx_add_session() has mixed initialisation order. It starts
>> to initialise pipex(4) session, then initialises `ifnet', then links
>> pipex(4) session, then continue to initial
On 29/05/20(Fri) 13:22, Vitaliy Makkoveev wrote:
> This time pppx_add_session() has mixed initialisation order. It starts
> to initialise pipex(4) session, then initialises `ifnet', then links
> pipex(4) session, then continue to initialize `ifnet'.
> pppx_add_session() can sleep and pppx_if_start(
ping?
This time pppx_add_session() has mixed initialisation order. It starts
to initialise pipex(4) session, then initialises `ifnet', then links
pipex(4) session, then continue to initialize `ifnet'.
pppx_add_session() can sleep and pppx_if_start() can start to work with
unlinked pipex(4) session.
Also