Thu, Mar 21, 2019 at 02:17:36PM CET, [email protected] 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 <[email protected]>
>Reviewed-by: Stefano Brivio <[email protected]>

Acked-by: Jiri Pirko <[email protected]>

Reply via email to