net/bnxt: fix filter freeing
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 26 Jul 2018 01:15:44 +0000 (18:15 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 Aug 2018 10:00:48 +0000 (12:00 +0200)
commiteae0a36249acb365c9c5952b0ed7f1d4b625ab42
treec6bc4f1440ff2ade7432831a4fa5f18de99ea9fb
parenta0163693bcc4f78f50c3471dbcacc2ca1394f71f
net/bnxt: fix filter freeing

bnxt_clear_hwrm_vnic_filters() was removing the created filter from HW,
but not clearing the internal data structures by removing it from the
struct bnxt_vnic_info->filter list.

Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c