commit | 9dfd87da1aeb0fd364167ad199f40fe96a6a87be | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Tue Aug 20 18:13:27 2013 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri Sep 06 11:45:58 2013 -0400 |
tree | adf9d2edff56be3fa54e330b55b3c76fe51c25cf | |
parent | 6a36978e6931e6601be586eb313375335f2cfaa3 [diff] |
rpc: fix huge kmalloc's in gss-proxy 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>