Whamcloud - gitweb
LU-15039 lnet: Fix reference leak in lnet_parse 67/45067/2
authorChris Horn <chris.horn@hpe.com>
Wed, 5 Aug 2020 16:19:35 +0000 (11:19 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 17 Oct 2021 18:11:43 +0000 (18:11 +0000)
commite69eca08bce47bf85b3c011598e360a2468019b5
tree3ef3d23584eff9e4bf952234215156a0d832f392
parent6e116213e3fd7d72686a6004a3e457c3120e6b52
LU-15039 lnet: Fix reference leak in lnet_parse

We need to drop the reference taken by lnet_nid2peerni_locked() if we
determine that we need to drop the message because of asymmetric
route.

Test-Parameters: trivial
HPE-bug-id: LUS-9186
Fixes: 955080c3ae ("LU-13779 lnet: Correct asymmetric route detection")
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I799c9522b1ce5f4caffc5848a829995e5b5484e7
Reviewed-on: https://review.whamcloud.com/45067
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-move.c