net: sched: cls_fw: no need to call tcf_exts_change for newly allocated struct
authorJiri Pirko <jiri@mellanox.com>
Fri, 4 Aug 2017 12:29:07 +0000 (14:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Aug 2017 18:21:24 +0000 (11:21 -0700)
commit94611bff6e1e57c4a74a9242f3fe749aa4a31678
treefa03660e12e6bd403bf7437925ff3b81bbd52977
parent455075292b0d58f708c1afe7011a8b9223b2c9c8
net: sched: cls_fw: no need to call tcf_exts_change for newly allocated struct

As the f struct was allocated right before fw_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>
net/sched/cls_fw.c