net/mlx5e: Warn when destroying mod hdr hash table that is not empty
authorRoi Dayan <roid@nvidia.com>
Thu, 22 Sep 2022 08:03:30 +0000 (11:03 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 Jan 2023 18:34:08 +0000 (10:34 -0800)
commit2a1f4fed392b2b45e98acf9353a5a3827fb9dde3
treed154b18cdb9cc95f516ae95e855b470bce053d6d
parentef78b8d5d6f1c311253691f772e2a4d2c96ddde2
net/mlx5e: Warn when destroying mod hdr hash table that is not empty

To avoid memory leaks add a warn when destroying mod hdr hash table
but the hash table is not empty.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/mod_hdr.c