Whamcloud - gitweb
LU-12254 lnet: correct discovery LNetEQFree() 96/34796/8
authorAmir Shehata <ashehata@whamcloud.com>
Tue, 30 Apr 2019 18:51:09 +0000 (11:51 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:08:38 +0000 (18:08 +0000)
commita0879b5985b41f92dede96e7f27623eb72102b15
tree580199b28abcdfaad291cb026746381a7669c226
parentd799ac910cd6c980b40c81b76eaefb65b88904d0
LU-12254 lnet: correct discovery LNetEQFree()

The EQ needs to be freed after all the queues are cleaned to avoid
having non-processed events on the event queue on free. This will
prevent the memory from being freed.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ie38ec25e09bf6d7cf2aadc30edd91d298897c51b
Reviewed-on: https://review.whamcloud.com/34796
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Tested-by: Jenkins
lnet/lnet/peer.c