From: Eric Dumazet Date: Sat, 13 Jun 2015 02:31:32 +0000 (-0700) Subject: flow_dissector: fix ipv6 dst, hop-by-hop and routing ext hdrs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e98a0f08abddde87f0f93237f10629ecb4880ef;p=pandora-kernel.git flow_dissector: fix ipv6 dst, hop-by-hop and routing ext hdrs __skb_header_pointer() returns a pointer that must be checked. Fixes infinite loop reported by Alexei, and add __must_check to catch these errors earlier. Fixes: 6a74fcf426f5 ("flow_dissector: add support for dst, hop-by-hop and routing ext hdrs") Reported-by: Alexei Starovoitov Tested-by: Alexei Starovoitov Signed-off-by: Eric Dumazet Acked-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed