]> 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)
commite83053f01b4ec26ed416fbdbc5a44619d2a16846
treef62c7411a959c5a8e4040e318399a683d5ccc30c
parent9ab3faa923bac58c05e58ea5cf2f1e8101d3ac2f
flow_offload: fix allowed types check

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

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