diff options
author | Eric Dumazet <edumazet@google.com> | 2015-06-13 02:31:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-13 04:58:49 (GMT) |
commit | 1e98a0f08abddde87f0f93237f10629ecb4880ef (patch) | |
tree | d076e4b8b38b5cc82e865986ceb736585dca2374 /kernel/trace | |
parent | 5b173cf92729b02ff8207abd85bfcbbef3443b94 (diff) | |
download | linux-1e98a0f08abddde87f0f93237f10629ecb4880ef.tar.xz |
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 <alexei.starovoitov@gmail.com>
Tested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions