]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SDP: BUG1343 - Polygraph test crashes machine
authorAmir Vadai <amirv@mellanox.co.il>
Tue, 18 Nov 2008 13:41:15 +0000 (15:41 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:20 +0000 (05:04 -0700)
commitf1e1cd00f15cc80585832d9db14003a5ff6f1c52
tree89dd98de3278a755bb404b2dbaec51507206c277
parent949c7679c55251c899b4d9edcbba59150ce6f9bb
SDP: BUG1343 - Polygraph test crashes machine

No socket reference was taken before starting DREQ timeout.
cancel delayed work only remove the work if it is in the timer stage
before entered to the workqueue.
Because of that, sdp_dreq_timeout_work could be in the work queue
after the socket was destructed. and when the socket was reused
and the inlined work structre was resetted things went wrong.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h
drivers/infiniband/ulp/sdp/sdp_main.c