*Regards*,
Mrityunjay Kumar.
Mobile: +91 - 9731528504


On Mon, Sep 6, 2021 at 6:57 PM Prashant Upadhyaya <praupadhy...@gmail.com>
wrote:

> Hi,
>
> I am using VPP21.06
> In vlib_buffer_advance there is the following assert --
> ASSERT ((b->flags & VLIB_BUFFER_NEXT_PRESENT) == 0 ||
>           b->current_length >= VLIB_BUFFER_MIN_CHAIN_SEG_SIZE);
>
> The above is problematic as I have a usecase where I construct a chained
> packet.
> The first packet in the chain is containing just an ip4/udp/gtp header
> and the second packet in the chain is an IP4 packet of arbitrary
> length -- you can see that I am trying to wrap the packet into gtp via
> chaining.
> As a result this assert hits and brings the house down.
> My usecase works fine when I use the non-debug build of VPP.




> Prashant sir,  with due respect, I would like to reply your post, it may
> be debug build and release build behave in diffrent way, please ignore. we
> can post issue on formum as minor bug.
>



> Perhaps this assert should be removed ?
>
> Regards
> -Prashant
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20083): https://lists.fd.io/g/vpp-dev/message/20083
Mute This Topic: https://lists.fd.io/mt/85411974/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to