Re: [PATCH net-next v6 06/11] net: sched: add 'delete' function to action ops

2018-08-10 Thread Vlad Buslov
On Thu 09 Aug 2018 at 19:38, Cong Wang wrote: > On Thu, Jul 5, 2018 at 7:24 AM Vlad Buslov wrote: >> >> Extend action ops with 'delete' function. Each action type to implements >> its own delete function that doesn't depend on rtnl lock. >> >> Implement delete function that is required to delet

Re: [PATCH net-next v6 06/11] net: sched: add 'delete' function to action ops

2018-08-09 Thread Cong Wang
On Thu, Jul 5, 2018 at 7:24 AM Vlad Buslov wrote: > > Extend action ops with 'delete' function. Each action type to implements > its own delete function that doesn't depend on rtnl lock. > > Implement delete function that is required to delete actions without > holding rtnl lock. Use action API fu

[PATCH net-next v6 06/11] net: sched: add 'delete' function to action ops

2018-07-05 Thread Vlad Buslov
Extend action ops with 'delete' function. Each action type to implements its own delete function that doesn't depend on rtnl lock. Implement delete function that is required to delete actions without holding rtnl lock. Use action API function that atomically deletes action only if it is still in a