SUNRPC: Make freeing of struct xprt rcu-safe
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 14 Feb 2015 22:48:49 +0000 (17:48 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 1 Feb 2016 02:37:23 +0000 (21:37 -0500)
commitfda1bfef9e465b28260d27cd9e538dd601c4cdc1
tree125a5a8dbc027a9149d5ad4208bd27fe68a8009f
parent30c5116b113689c87a711a0963753adadd702c04
SUNRPC: Make freeing of struct xprt rcu-safe

Have it call kfree_rcu() to ensure that we can use it on rcu-protected
lists.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c