diff options
author | WANG Cong <[email protected]> | 2016-09-18 15:52:20 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-09-23 06:51:49 -0400 |
commit | 21641c2e1ffd0b504610a33beaeab8fcc5140677 (patch) | |
tree | 7d85de3b3d90be1949715ff6f542dc3888041022 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | d6989d4bbe6c4d1c2a76696833a07f044e85694d (diff) |
net_sched: check NULL on error path in route4_change()
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 <[email protected]>
Cc: Jamal Hadi Salim <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions