octeontx2-af: CGX: fix bitmap leaks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review 1 of 2 applied
- v11 patch 5 repliesSuperseded
Changes in v2 from the cover letter
- Update patch 1 to use rvu_free_bitmap() instead of open-coding kfree()
- Add patch 2 to keep the alloc/free API pairing consistent
Patches in v2 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | octeontx2-af: CGX: fix bitmap leaksdrivers/ | +2 | 2 replies | Applied |
| 2/2 | octeontx2-af: CGX: replace kfree() with rvu_free_bitmap()drivers/ | +1 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Vadim Fedorenko | Jijie Shao |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/2] octeontx2-af: CGX: fix bitmap leaks
Patch 1 fixes the RX/TX flow-control bitmap leaks in cgx_lmac_exit(). The leak was introduced in commit e740003874ed ("octeontx2-af: Flow control resource management").
Patch 2 converts the existing kfree() for mac_to_index_bmap to rvu_free_bitmap() for consistency with the alloc/free API pairing.
Changes in v2:
- Update patch 1 to use rvu_free_bitmap() instead of open-coding kfree()
- Add patch 2 to keep the alloc/free API pairing consistent
Bo Sun (2):
octeontx2-af: CGX: fix bitmap leaks
octeontx2-af: CGX: replace kfree() with rvu_free_bitmap()
drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)