Whamcloud - gitweb
LU-15440 lnet: lnet_peer_data_present() memory leak 52/46052/3
authorChris Horn <chris.horn@hpe.com>
Tue, 11 Jan 2022 22:19:16 +0000 (16:19 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 Feb 2022 04:43:24 +0000 (04:43 +0000)
commit56384a4fc39ff99c8abb3538f93d303f2be6ab45
tree40e3690c719fda8879ce1fa469679d3ae87764dc
parent195abf2a92be517497319cf7f4374d837806e83e
LU-15440 lnet: lnet_peer_data_present() memory leak

If the ping buffer has nnis <= 1 then the ref on the ping buffer does
not get dropped. This causes a memory leak.

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I5e3c651ffecbe4f8860afb86770cecef23ebe862
Reviewed-on: https://review.whamcloud.com/46052
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/peer.c
lustre/tests/sanity-lnet.sh