diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-10-10 11:39:45 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-10 08:39:39 +0100 |
commit | af7d23f9d96a3e9647cff8619a6860d73b109b5f (patch) | |
tree | da6fa13ceb5b8dfcee3eb755db0b6569125f8e45 /drivers/hsi | |
parent | 84cdf5bcbdce1622eeb6c857f8a7e383de1074a9 (diff) |
octeontx2-pf: mcs: fix possible memory leak in otx2_probe()
In error path after calling cn10k_mcs_init(), cn10k_mcs_free() need
be called to avoid memory leak.
Fixes: c54ffc73601c ("octeontx2-pf: mcs: Introduce MACSEC hardware offloading")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions