From: Dan Carpenter Date: Wed, 1 Apr 2015 08:13:03 +0000 (+0300) Subject: staging: lustre: prevent underflows in lnet_parse_reply() X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=005b23d6b6e7e798b6799bedffc60f33494058ea;p=pandora-kernel.git staging: lustre: prevent underflows in lnet_parse_reply() I don't know if "hdr->payload_length;" can really be negative, but if so then we shouldn't allow it. Do the comparison as an unsigned. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed