]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "mlx4: avoid multiple free on id_map_ent"
authorHakon Bugge <Haakon.Bugge@oracle.com>
Wed, 5 Apr 2017 11:11:01 +0000 (13:11 +0200)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 29 May 2017 21:33:38 +0000 (17:33 -0400)
commitf235b0a499f296f1a9e6c7c6f0d8998009113c77
tree76d453ee139e15c2950172e7ea2303e332752826
parent2f47979f089055f92e0fd202f71bae2670b71cce
Revert "mlx4: avoid multiple free on id_map_ent"

This reverts commit 1cae1a0ad2fe88499f2fd847d50b101d1985926b.

Commit "mlx4_ib: Memory leak on Dom0 with SRIOV" introduced an error,
that the CM message DREQ was silently dropped by the PF passive side,
if the disconnect happened more than 5 seconds after the RTU was
received.

In order to cleanly revert it, this dependant commit needs to be
reverted as well.

Orabug 25829233 documents that there is memory leak in the mlx4 driver
when the DomUs are destroyed while active. But this patchset does not
influence this leak. The leak is tracked by orabug 25946511.

Note that this commit also included a renaming of a variable. This
will be re-introduced in a later commit.

Orabug: 25829233

Signed-off-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
drivers/infiniband/hw/mlx4/cm.c