flow_offload: fix allowed types check
Change the check to see if the passed allowed type bit is enabled. Fixes: 319a1d19 ("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>
Showing
Please register or sign in to comment