Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Smith Beirvin
On Mon, Mar 7, 2022 at 04:38 PM, Benoit Ganne (bganne) wrote: > > instead Hi Benoit Bro, I think you are right, thanks again. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20970): https://lists.fd.io/g/vpp-dev/message/20970 Mute This Topic:

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Smith Beirvin
On Mon, Mar 7, 2022 at 04:38 PM, Benoit Ganne (bganne) wrote: > > bi0 okay, I will check again, thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20969): https://lists.fd.io/g/vpp-dev/message/20969 Mute This Topic:

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Smith Beirvin
Hi Buddy, thanks for reply, I already take account into the outbond issue regarding two packets increments at one loop( if (is_send_syn && (1 < n_left_to_next)) ). Actually, I couldn't find logical issue on source code. I will read “l2-flood” node soure code for reference.

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
> You decrement/increment n_left_to_next/to_next twice in one iteration of > the loop, so you are writing out of bounds. >> if (is_send_syn && (1 < n_left_to_next)) I think this should be taken care of by this test though. >> vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next, >>

Re: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-07 Thread Neale Ranns
at 04:02 To: vpp-dev@lists.fd.io Subject: [vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp Hi fellows: I got a problem when duplicate a packet at "interface-output" arc, this will trigger a coredump as below. while I can't find any issue for

[vpp-dev] Coredump occur when duplicate a packet at "interface-output" arc. #vpp

2022-03-06 Thread Smith Beirvin
Hi fellows: I got a problem when duplicate a packet at "interface-output" arc, this will trigger a coredump as below. while I can't find any issue for the sorce code. So pls help me. Coredump information; Mar  7 02:54:24 localhost vnet[9542]: vlib_buffer_validate_alloc_free:367: freeing