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)
commita393daa8993fd7d6c9c33110d5dac08bc0dc2696
treef62c7411a959c5a8e4040e318399a683d5ccc30c
parent79c57bffebe83ad0a7395f62596dc2e8d29a9ede
flow_offload: fix allowed types check

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

Fixes: 319a1d19471e ("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