From: Paolo Abeni <pab...@redhat.com>
Date: Thu, 21 Jun 2018 20:02:16 +0200

> If flower filter is created without the skip_sw flag, fl_mask_put()
> can race with fl_classify() and we can destroy the mask rhashtable
> while a lookup operation is accessing it.
 ...
> Fix the above waiting for a RCU grace period before destroying the
> rhashtable: we need to use tcf_queue_work(), as rhashtable_destroy()
> must run in process context, as pointed out by Cong Wang.
> 
> v1 -> v2: use tcf_queue_work to run rhashtable_destroy().
> 
> Fixes: 05cd271fd61a ("cls_flower: Support multiple masks per priority")
> Signed-off-by: Paolo Abeni <pab...@redhat.com>

Applied, thanks.

Reply via email to