[PATCH 4.14 105/138] net/sched: fix NULL dereference in the error path of tcf_bpf_init()

2018-04-10 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Davide Caratti [ Upstream commit 3239534a79ee6f20cffd974173a1e62e0730e8ac ] when tcf_bpf_init_from_ops() fails (e.g. because of program having invalid number of

[PATCH 4.14 105/138] net/sched: fix NULL dereference in the error path of tcf_bpf_init()

2018-04-10 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Davide Caratti [ Upstream commit 3239534a79ee6f20cffd974173a1e62e0730e8ac ] when tcf_bpf_init_from_ops() fails (e.g. because of program having invalid number of instructions),