net/ice: fix perfect match for ACL rule
authorSimei Su <simei.su@intel.com>
Wed, 11 Nov 2020 11:30:05 +0000 (19:30 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commitd827f610d38683184178158bc8fd625f061229b6
treea7201ecf688bcddfcb09ae80e0fa53846c553972
parent470b5c23adf2f4ec5aaece93c711048d84cd3eab
net/ice: fix perfect match for ACL rule

A rule with an imperfect match (wildcarding) will be routed through
ACL. A perfect match should be rejected by ACL.

Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF")

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_acl_filter.c