From: David S. Miller Date: Thu, 18 May 2017 02:54:11 +0000 (-0400) Subject: ipv6: Check ip6_find_1stfragopt() return value properly. X-Git-Tag: v3.2.89~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7c2d2d7ebf9a110cafbe53199457c318f61a192;p=pandora-kernel.git ipv6: Check ip6_find_1stfragopt() return value properly. commit 7dd7eb9513bd02184d45f000ab69d78cb1fa1531 upstream. Do not use unsigned variables to see if it returns a negative error or not. Fixes: 2423496af35d ("ipv6: Prevent overrun when parsing v6 header options") Reported-by: Julia Lawall Signed-off-by: David S. Miller [bwh: Backported to 3.2: adjust filenames, context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed