Re: [Patch net-next] net_sched: check NULL on error path in route4_change()

2016-09-22 Thread Jamal Hadi Salim
On 16-09-18 06:52 PM, Cong Wang wrote: On error path in route4_change(), 'f' could be NULL, so we should check NULL before calling tcf_exts_destroy(). Fixes: b9a24bb76bf6 ("net_sched: properly handle failure case of tcf_exts_init()") Reported-by: kbuild test robot Cc:

[Patch net-next] net_sched: check NULL on error path in route4_change()

2016-09-18 Thread Cong Wang
On error path in route4_change(), 'f' could be NULL, so we should check NULL before calling tcf_exts_destroy(). Fixes: b9a24bb76bf6 ("net_sched: properly handle failure case of tcf_exts_init()") Reported-by: kbuild test robot Cc: Jamal Hadi Salim