aboutsummaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2019-02-11 13:06:16 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-12 14:10:56 -0500
commit1db817e75f5b9387b8db11e37d5f0624eb9223e0 (patch)
tree90cf99c0f5c73ebd5c9927fa10df065495647053 /.mailmap
parentnet_sched: fix a memory leak in cls_tcindex (diff)
downloadlinux-dev-1db817e75f5b9387b8db11e37d5f0624eb9223e0.tar.xz
linux-dev-1db817e75f5b9387b8db11e37d5f0624eb9223e0.zip
net_sched: fix two more memory leaks in cls_tcindex
struct tcindex_filter_result contains two parts: struct tcf_exts and struct tcf_result. For the local variable 'cr', its exts part is never used but initialized without being released properly on success path. So just completely remove the exts part to fix this leak. For the local variable 'new_filter_result', it is never properly released if not used by 'r' on success path. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions