diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-08-20 18:13:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-01 09:17:48 -0700 |
commit | fea655196e39b35ef0d6c5a6372edb53315031db (patch) | |
tree | 869d5da8605fc319709e401f43cc221e5ebb04b9 /net/atm | |
parent | 577e9397bcfaa293bb8de0e619fe93f69bf992b9 (diff) |
rpc: fix huge kmalloc's in gss-proxy
commit 9dfd87da1aeb0fd364167ad199f40fe96a6a87be upstream.
The reply to a gssproxy can include up to NGROUPS_MAX gid's, which will
take up more than a page. We therefore need to allocate an array of
pages to hold the reply instead of trying to allocate a single huge
buffer.
Tested-by: Simo Sorce <simo@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions