diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-07-03 16:45:12 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-04 16:08:21 +0300 |
| commit | 30e99ed6dbdde68f5ad23db3a5872c3c247526b6 (patch) | |
| tree | b2af1a927062e3b97f8eceed5f4814e221dca0b1 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 7184e7e7d9df8147d8c065de0233a7ed360cff85 (diff) | |
| download | linux-30e99ed6dbdde68f5ad23db3a5872c3c247526b6.tar.xz | |
net: sched: act_pedit: fix possible memory leak in tcf_pedit_init()
'keys_ex' is malloced by tcf_pedit_keys_ex_parse() in tcf_pedit_init()
but not all of the error handle path free it, this may cause memory
leak. This patch fix it.
Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the conventional network headers")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
