summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-05-04 17:44:12 +0200
committerJ. Bruce Fields <bfields@redhat.com>2012-06-01 02:29:41 +0200
commit91c427ac3a61ccabae0fdef53563edf40394b6c9 (patch)
tree66f5aaf373ebef288ed561def0f188f1ac5700d5 /virt
parentSUNRPC: move per-net operations from svc_destroy() (diff)
downloadlinux-91c427ac3a61ccabae0fdef53563edf40394b6c9.tar.xz
linux-91c427ac3a61ccabae0fdef53563edf40394b6c9.zip
sunrpc: do array overrun check in svc_recv before allocating pages
There's little point in waiting until after we allocate all of the pages to see if we're going to overrun the array. In the event that this calculation is really off we could end up scribbling over a bunch of memory and make it tougher to debug. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions