From: Jorgen Hansen Date: Mon, 2 Mar 2015 16:19:11 +0000 (-0800) Subject: VMCI: Guard against overflow in queue pair allocation X-Git-Tag: omap-for-v4.2/o2_dc~63^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa6467f190d32b263f7144239c89c63c922d9ff8;p=pandora-kernel.git VMCI: Guard against overflow in queue pair allocation The current maximum size of a queue in a queue pair is 128 MB. If we increase that in the future, the queue pair allocation routines may run into overflow issues. This change adds additional checks to guard against this. Acked-by: Andy King Reported-by: Dan Carpenter Signed-off-by: Jorgen Hansen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed