diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2021-10-15 10:26:34 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-10-26 10:41:29 +0200 |
commit | 926245c7d22271307606c88b1fbb2539a8550e94 (patch) | |
tree | 5381a629670908a2e13461f6160d67563260518c /Documentation/hid/intel-ish-hid.rst | |
parent | 9fbfabfda25d8774c5a08634fdd2da000a924890 (diff) | |
download | linux-926245c7d22271307606c88b1fbb2539a8550e94.tar.gz |
nvmet-tcp: fix a memory leak when releasing a queue
page_frag_free() won't completely release the memory
allocated for the commands, the cache page must be explicitly
freed by calling __page_frag_cache_drain().
This bug can be easily reproduced by repeatedly
executing the following command on the initiator:
$echo 1 > /sys/devices/virtual/nvme-fabrics/ctl/nvme0/reset_controller
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/hid/intel-ish-hid.rst')
0 files changed, 0 insertions, 0 deletions