rpc: define xdr_restrict_buflen
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 6 Mar 2014 18:22:18 +0000 (13:22 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:32:01 +0000 (17:32 -0400)
commitdb3f58a95beea6752d90fed03f9f198d282a3913
tree438b162295933ef48f2d9fb1b7aa14a053504521
parent30596768b31069a3ae08fc305f394efb8c42b473
rpc: define xdr_restrict_buflen

With this xdr_reserve_space can help us enforce various limits.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c