https://github.com/torvalds/linux
Revision 4853f128c13ed2731625dff2410b7fdbe540fb26 authored by Jiri Pirko on 21 December 2017, 12:13:59 UTC, committed by David S. Miller on 26 December 2017, 18:02:05 UTC
We need to check block for being null in both tcf_block_put and
tcf_block_put_ext.

Fixes: 343723dd51ef ("net: sched: fix clsact init error path")
Reported-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 0a3d805
Raw File
Tip revision: 4853f128c13ed2731625dff2410b7fdbe540fb26 authored by Jiri Pirko on 21 December 2017, 12:13:59 UTC
net: sched: fix possible null pointer deref in tcf_block_put
Tip revision: 4853f12
Kconfig
# SPDX-License-Identifier: GPL-2.0
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top