diff options
author | 2022-12-02 19:04:30 +0800 | |
---|---|---|
committer | 2022-12-05 11:05:05 +0000 | |
commit | fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce (patch) | |
tree | 213e06c2210322f5215d0b49b78f249b76124500 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: mdiobus: fix double put fwnode in the error path (diff) | |
download | wireguard-linux-fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce.tar.xz wireguard-linux-fbf33f5ac76f2cdb47ad9763f620026d5cfa57ce.zip |
octeontx2-pf: Fix potential memory leak in otx2_init_tc()
In otx2_init_tc(), if rhashtable_init() failed, it does not free
tc->tc_entries_bitmap which is allocated in otx2_tc_alloc_ent_bitmap().
Fixes: 2e2a8126ffac ("octeontx2-pf: Unify flow management variables")
Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions