commit | 78f1b04fa20d414ff3aa749b2c303324c7db2c26 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sat Mar 17 19:53:29 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 17 19:53:29 2018 -0400 |
tree | cff5b5cd7ea1c187cbe8d6f19f7a10fc6e79824b | |
parent | f9db50691db4a7d860fce985f080bb3fc23a7ede [diff] | |
parent | 2d433610176d6569e8b3a28f67bc72235bf69efc [diff] |
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 <davem@davemloft.net>