FDio / vpp

Mirror of VPP code base hosted at git.fd.io
Apache License 2.0
1.24k stars 619 forks source link

Create threads.c #55

Closed jiangwenwu2014 closed 1 year ago

jiangwenwu2014 commented 1 year ago

when I use vpp-2110, vlib_worker_thread_node_refork vm->node_main.node_by_name is pointer to main thread,but when main thread node_by_name hash_vec resize and resize buffer not continuation cause worker thread vm->node_main.node_by_name is wild pointer,so I want modified “nm_clone->node_by_name = nm->node_by_name;” in line 899 on src/vlib/threads.c

github-actions[bot] commented 1 year ago

Thank you so much for your interest! VPP takes patches at https://gerrit.fd.io/ git clone https://gerrit.fd.io/r/vpp Using git review to contribute patches is recommended