diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2015-08-26 05:06:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-26 20:01:44 +0200 |
commit | faa54be4c78da6aa2148c539659867afdecd3e8d (patch) | |
tree | 44eb1ad0bb5bbf322ee607666f9e50f1c82c20d5 /net/sched/cls_tcindex.c | |
parent | net_sched: make tcf_hash_destroy() static (diff) | |
download | linux-faa54be4c78da6aa2148c539659867afdecd3e8d.tar.xz linux-faa54be4c78da6aa2148c539659867afdecd3e8d.zip |
net_sched: act_bpf: remove unnecessary copy
Fix harmless typo and avoid unnecessary copy of empty 'prog' into
unused 'strcut tcf_bpf_cfg old'.
Fixes: f4eaed28c783 ("act_bpf: fix memory leaks when replacing bpf programs")
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_tcindex.c')
0 files changed, 0 insertions, 0 deletions