]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: BUG2092 - ib_device field in sdp_sock is reset not in user-context
authorEldad Zinger <eldadz@mellanox.co.il>
Thu, 5 Aug 2010 06:31:27 +0000 (09:31 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:17 +0000 (05:05 -0700)
commit92c076ee0045504c7fbab30fe5af6b66df2a22a9
tree2841bd8987cbaea4fcd1f21ec9606d2ef7ce019b
parent3742c2efae300d68a9eaa0b0eb19e0bfe20dc3b7
sdp: BUG2092 - ib_device field in sdp_sock is reset not in user-context

ib_device field of sdp_sock is NULL after either cases:
- cma handler resetting the socket
- device removal
Both cases are not in user-context.

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