]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85cd42bc111a4edfe3e0ed2b9966f6f53f769db2
treeaf0e04aed32eac60b35c987b933dbc132f0e780b
parent7b1e097352236d679ade24ffa11634b3fc36d8a9
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