net/bnxt: fix handling of null flow mask
authorLance Richardson <lance.richardson@broadcom.com>
Thu, 18 Mar 2021 19:52:51 +0000 (15:52 -0400)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 19 Mar 2021 19:29:56 +0000 (20:29 +0100)
commitdea1afc71ffce08fccef2d49f09f6ad874c433c5
tree9992e7b3d0bf4d4c17881e90f513e3c8e33438c9
parent74f2172177a0556348f312b2d88d9ad5f5e298cc
net/bnxt: fix handling of null flow mask

When the mask field of an rte_flow pattern item is NULL,
the default mask for that item type should be used.

Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_flow.c