SUNRPC: Provide a callback to allow free pages allocated during xdr encoding
authorJ. Bruce Fields <bfields@fieldses.org>
Thu, 13 Oct 2005 20:54:43 +0000 (16:54 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Oct 2005 06:19:43 +0000 (23:19 -0700)
commitead5e1c26fdcd969cf40c49cb0589d56879d240d
treeaf0e04aed32eac60b35c987b933dbc132f0e780b
parent293f1eb551a77fe5c8956a559a3c0baea95cd9bc
SUNRPC: Provide a callback to allow free pages allocated during xdr encoding

 For privacy, we need to allocate pages to store the encrypted data (passed
 in pages can't be used without the risk of corrupting data in the page cache).
 So we need a way to free that memory after the request has been transmitted.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c