aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2017-08-18 08:10:43 +0000
committerDavid S. Miller <[email protected]>2017-08-18 17:19:11 +0000
commitacc8b31665b4cc17b35c4fa445427f7e2f6dc86b (patch)
treea81f0632c483e2d8733a401339b9d5fbef3c67ba /net/unix/af_unix.c
parentbpf: Update sysctl documentation to list all supported architectures (diff)
downloadkernel-acc8b31665b4cc17b35c4fa445427f7e2f6dc86b.tar.gz
kernel-acc8b31665b4cc17b35c4fa445427f7e2f6dc86b.zip
net: sched: fix p_filter_chain check in tcf_chain_flush
The dereference before check is wrong and leads to an oops when p_filter_chain is NULL. The check needs to be done on the pointer to prevent NULL dereference. Fixes: f93e1cdcf42c ("net/sched: fix filter flushing") Signed-off-by: Jiri Pirko <[email protected]> Acked-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions