diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-10-10 05:39:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-10 09:39:39 +0200 |
commit | af7d23f9d96a3e9647cff8619a6860d73b109b5f (patch) | |
tree | da6fa13ceb5b8dfcee3eb755db0b6569125f8e45 /net/wireless | |
parent | ] ptp: ocp: remove symlink for second GNSS (diff) | |
download | linux-af7d23f9d96a3e9647cff8619a6860d73b109b5f.tar.xz linux-af7d23f9d96a3e9647cff8619a6860d73b109b5f.zip |
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 'net/wireless')
0 files changed, 0 insertions, 0 deletions