[Intel-wired-lan] [patch net-next v2] iavf: use tc_cls_can_offload_and_chain0() instead of chain check
David Miller
davem at davemloft.net
Wed Feb 26 17:01:53 UTC 2020
From: Jiri Pirko <jiri at resnulli.us>
Date: Wed, 26 Feb 2020 09:21:57 +0100
> From: Jiri Pirko <jiri at mellanox.com>
>
> Looks like the iavf code actually experienced a race condition, when a
> developer took code before the check for chain 0 was put to helper.
> So use tc_cls_can_offload_and_chain0() helper instead of direct check and
> move the check to _cb() so this is similar to i40e code.
>
> Signed-off-by: Jiri Pirko <jiri at mellanox.com>
> ---
> v1->v2:
> - rebased on top of net-next (using the correct helper name)
Applied, thanks Jiri.
More information about the Intel-wired-lan
mailing list