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

As the n struct was allocated right before u32_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_u32.c