diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-08-04 14:29:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-04 11:21:24 -0700 |
commit | 6839da326dfcb98bf8020d42b416636471f1e462 (patch) | |
tree | ea3d1866e54a875275de6d9e54d8ea32e44f2ab8 /net/sched/cls_cgroup.c | |
parent | net: sched: cls_basic: no need to call tcf_exts_change for newly allocated struct (diff) | |
download | linux-dev-6839da326dfcb98bf8020d42b416636471f1e462.tar.xz linux-dev-6839da326dfcb98bf8020d42b416636471f1e462.zip |
net: sched: cls_bpf: no need to call tcf_exts_change for newly allocated struct
As the prog struct was allocated right before cls_bpf_set_parms call,
no need to use tcf_exts_change to do atomic change, and we can just
fill-up the unused exts struct directly by tcf_exts_validate.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_cgroup.c')
0 files changed, 0 insertions, 0 deletions