net/bnxt: check invalid L2 filter id
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 21 Jul 2017 03:22:32 +0000 (22:22 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit778f6209bc3b39339f2969a57ffb46f2cd396f15
tree7febfe40c8d47392c3e4a1a62c7256824c4ee755
parent910242bcf521eb52b1a68414f3a434e4f513bef5
net/bnxt: check invalid L2 filter id

Add code to check for invalid filter_id in bnxt_hwrm_clear_filter

Fixes: f92735db1e4c ("net/bnxt: add L2 filter alloc/init/free")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c