]> git.baikalelectronics.ru Git - kernel.git/commit
flow_offload: fix allowed types check
authorJiri Pirko <jiri@resnulli.us>
Tue, 10 Mar 2020 15:49:07 +0000 (16:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 23:04:19 +0000 (16:04 -0700)
commit36db0c39efb5babf2e7c46413dd05055369c1e8c
treef62c7411a959c5a8e4040e318399a683d5ccc30c
parent794b2f0b04eb6d8866e43bfa6eaa948022c55b16
flow_offload: fix allowed types check

Change the check to see if the passed allowed type bit is enabled.

Fixes: 2550d8305759 ("flow_offload: check for basic action hw stats type")
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h