aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-10-10 17:01:16 +0000
committerDavid S. Miller <[email protected]>2017-10-10 17:54:17 +0000
commitb2427e671766c51379bc882fdf809d905c6f9619 (patch)
tree498341271f337447255fc04dac899aa98056f936 /tools/bpf/bpftool/prog.c
parentAdd a driver for Renesas uPD60620 and uPD60620A PHYs (diff)
downloadkernel-b2427e671766c51379bc882fdf809d905c6f9619.tar.gz
kernel-b2427e671766c51379bc882fdf809d905c6f9619.zip
ipv6: fix dereference of rt6_ex before null check error
Currently rt6_ex is being dereferenced before it is null checked hence there is a possible null dereference bug. Fix this by only dereferencing rt6_ex after it has been null checked. Detected by CoverityScan, CID#1457749 ("Dereference before null check") Fixes: 81eb8447daae ("ipv6: take care of rt6_stats") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions