Re: [vpp-dev] Q) Is it a possible acl-plugin race condtion?

2022-12-12 Thread Chul-Woong Yang
Thank you for your answer. It's for fast datapath processing, I see. However, I'm curious whether it is an accepted behavior to stop routing while processing configuration change. Are production CISCO routers made in that way? Kind regards, Chul-Woong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [vpp-dev] Q) Is it a possible acl-plugin race condtion?

2022-12-12 Thread Benoit Ganne (bganne) via lists.fd.io
be fine. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Chul-Woong > Yang > Sent: Monday, December 12, 2022 3:50 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Q) Is it a possible acl-plugin race condtion? > > Hi, team. > > I'm re

[vpp-dev] Q) Is it a possible acl-plugin race condtion?

2022-12-11 Thread Chul-Woong Yang
Hi, team. I'm reading acl-plugin code and have a question on race condition. When vpp needs to update acl rules, it does not keep a refcnt or something and just `vec_free`s the rules. Is it safe?: ``` /* ACL updater: from acl_add_list() */ { a = am->acls + *acl_list_index; /* Get