]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: rewrite orphan count logic
authorEldad Zinger <eldadz@mellanox.co.il>
Thu, 22 Jul 2010 05:03:49 +0000 (08:03 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:13 +0000 (05:05 -0700)
commitcdde94f9dbcf038dba11747a9e52fecb2cadbabf
tree1db55b24e3249c9a397fd89d2efc3fee7de0f48f
parent52ac9bc981dbbd1ba92cd5215be9ec5063f79ac7
sdp: rewrite orphan count logic

orphan count is increased on every call to sdp_common_release and decreased on
every call to sdp_destruct (just before the socket is freed).

Signed-off-by: Eldad Zinger <eldadz@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h
drivers/infiniband/ulp/sdp/sdp_cma.c
drivers/infiniband/ulp/sdp/sdp_dbg.h
drivers/infiniband/ulp/sdp/sdp_main.c