]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sdp: Use the PCB as the rx completion handler argument.
authormarkj <markj@FreeBSD.org>
Fri, 29 Jul 2016 20:39:32 +0000 (20:39 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 29 Jul 2016 20:39:32 +0000 (20:39 +0000)
commit36e6c3bcd9baff3e44aff31fd924cc147941d5fd
tree5f555ad1f8478b53edc19769980c6ef1fb3ad0bc
parent7ccd054937d6a38b7d9dff719141e294957c3da2
sdp: Use the PCB as the rx completion handler argument.

The generic socket may be detached from the PCB before the completion
queue is drained and destroyed, so this change closes a race condition
in connection teardown.

Sponsored by: EMC / Isilon Storage Division
sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c