It’s probably the same thing. BAD1 comes from an up
packet being reclaimed, BAD3 comes from a down packet
but the cause is probably the same.
In your email you mentioned the address of hdl is
the same in ion->reg and ion->reg_tx_done. ion->reg
takes the address to set the value, all other io-net
functions take the value itself:
ion->reg(dll, reg, &hdl, …);
Benzy Gabay <firstname.lastname@example.org> wrote:
: what about BAD1 ??? I’m getting it now.
: “Sean Boudreau” <email@example.com> wrote in message
:> Benzy Gabay <firstname.lastname@example.org> wrote:
:> : Hi,
:> : A packet come from tcp/ip layer to my intermediate driver which is in
: the ip
:> : layer.
:> : tx_down is been called by my program.
:> : tx_down return success error code.
:> : then I’m getting the following error to my terminal:
:> : io-net: ex_tx_done BAD3.
:> : remarks: - tx_done is not been called
:> : - io-net is not been dump
:> : any ideas what is means?
:> This probably means you called ion->reg_tx_done(hdl, …) and
:> passed a wrong hdl. Hdl should be what io-net returned to you
:> when you first registered:
:> ion->reg(dll, reg, &hdl, …)