mirror of https://github.com/torvalds/linux.git
The admin queue work request buffer, aq->q_wr, is allocated via kcalloc in
__ionic_create_rdma_adminq. However, it was not being freed in the
corresponding teardown function __ionic_destroy_rdma_adminq. This results
in a memory leak. Fix this leak by adding the missing kfree(aq->q_wr) in
the destruction path.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ionic_admin.c | ||
| ionic_controlpath.c | ||
| ionic_datapath.c | ||
| ionic_fw.h | ||
| ionic_hw_stats.c | ||
| ionic_ibdev.c | ||
| ionic_ibdev.h | ||
| ionic_lif_cfg.c | ||
| ionic_lif_cfg.h | ||
| ionic_pgtbl.c | ||
| ionic_queue.c | ||
| ionic_queue.h | ||
| ionic_res.h | ||