]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: fix for socket refcnt when error is marked while in TCP_TIME_WAIT state
authorEldad Zinger <eldadz@mellanox.co.il>
Tue, 20 Jul 2010 11:32:44 +0000 (14:32 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:12 +0000 (05:05 -0700)
commit2c02fbb85ada22f2a620e1b9cd30ffc5fc345ef5
tree59ec0ce5c0fc90df0ab9746072d12f5094bac1f0
parente2297e124b2aa9c63d5eaa9d05461bbb38caf7ed
sdp: fix for socket refcnt when error is marked while in TCP_TIME_WAIT state

When socket is in TCP_TIME_WAIT state, the next sdp_destroy_work() call will
put the cma_refcnt, so we should not change the socket state even if there is
an error.

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