aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <[email protected]>2021-10-15 08:26:34 +0000
committerChristoph Hellwig <[email protected]>2021-10-26 08:41:29 +0000
commit926245c7d22271307606c88b1fbb2539a8550e94 (patch)
tree5381a629670908a2e13461f6160d67563260518c /scripts/gcc-plugins/randomize_layout_plugin.c
parentblock: fix incorrect references to disk objects (diff)
downloadkernel-926245c7d22271307606c88b1fbb2539a8550e94.tar.gz
kernel-926245c7d22271307606c88b1fbb2539a8550e94.zip
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 <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: John Meneghini <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions