diff options
author | Eric Dumazet <[email protected]> | 2015-06-12 19:31:32 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-06-12 21:58:49 -0700 |
commit | 1e98a0f08abddde87f0f93237f10629ecb4880ef (patch) | |
tree | d076e4b8b38b5cc82e865986ceb736585dca2374 /net/tipc/node.c | |
parent | 5b173cf92729b02ff8207abd85bfcbbef3443b94 (diff) |
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 <[email protected]>
Tested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions