net/cxgbe: fix L2T leak in filter error and free path
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Fri, 12 Jun 2020 22:07:24 +0000 (03:37 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 17 Jun 2020 13:31:32 +0000 (15:31 +0200)
commite0e1496be5fcabd31807ef9981c421963a9f8578
tree22b99816bc6f58827eeb7392a90a7f5070a535be
parent844b21299f1a10ac350528365dc761e2934512ee
net/cxgbe: fix L2T leak in filter error and free path

Free up Layer 2 Table (L2T) entry properly during filter create
failure and filter delete.

Fixes: 1decc62b1cbe ("net/cxgbe: add flow operations to offload VLAN actions")
Cc: stable@dpdk.org
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/cxgbe_filter.c