SUNRPC: lock the socket while detaching it
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 24 Jun 2016 14:55:47 +0000 (10:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Jul 2016 19:53:44 +0000 (15:53 -0400)
commit069c225b88202c84bdbe18bed9e30e77924fdd0a
tree2518e0a9a9a74ff4b5f23e797424c8c27b46e95b
parent104f6351f7dc0036575b4e47765d6d39c757c066
SUNRPC: lock the socket while detaching it

Prevent callbacks from triggering while we're detaching the socket.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c