From: Eric Dumazet Date: Thu, 26 Sep 2013 15:44:06 +0000 (-0700) Subject: net: flow_dissector: fix thoff for IPPROTO_AH X-Git-Tag: v3.12-rc4~30^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86783587b3d1d552326d955acee37eac48800f1;p=pandora-kernel.git net: flow_dissector: fix thoff for IPPROTO_AH In commit 8ed781668dd49 ("flow_keys: include thoff into flow_keys for later usage"), we missed that existing code was using nhoff as a temporary variable that could not always contain transport header offset. This is not a problem for TCP/UDP because port offset (@poff) is 0 for these protocols. Signed-off-by: Eric Dumazet Cc: Daniel Borkmann Cc: Nikolay Aleksandrov Acked-by: Nikolay Aleksandrov Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed