Thu, Mar 21, 2019 at 02:17:36PM CET, vla...@mellanox.com wrote: >In order to prevent double deletion of filter by concurrent tasks when rtnl >lock is not used for synchronization, add 'deleted' filter field. Check >value of this field when modifying filters and return error if concurrent >deletion is detected. > >Refactor __fl_delete() to accept pointer to 'last' boolean as argument, >and return error code as function return value instead. This is necessary >to signal concurrent filter delete to caller. > >Signed-off-by: Vlad Buslov <vla...@mellanox.com> >Reviewed-by: Stefano Brivio <sbri...@redhat.com>
Acked-by: Jiri Pirko <j...@mellanox.com>