From: David S. Miller Date: Sat, 17 Mar 2018 23:53:29 +0000 (-0400) Subject: Merge branch 'tcf_foo_init-NULL-deref' X-Git-Tag: v4.16-rc7~23^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78f1b04fa20d414ff3aa749b2c303324c7db2c26;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'tcf_foo_init-NULL-deref' Davide Caratti says: ==================== net/sched: fix NULL dereference in the error path of .init() with several TC actions it's possible to see NULL pointer dereference, when the .init() function calls tcf_idr_alloc(), fails at some point and then calls tcf_idr_release(): this series fixes all them introducing non-NULL tests in the .cleanup() function. ==================== Signed-off-by: David S. Miller --- 78f1b04fa20d414ff3aa749b2c303324c7db2c26