net: sched: avoid atomic swap in tcf_exts_change
authorJiri Pirko <jiri@mellanox.com>
Fri, 4 Aug 2017 12:29:15 +0000 (14:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Aug 2017 18:21:24 +0000 (11:21 -0700)
commit9b0d4446b56904b59ae3809913b0ac760fa941a6
tree1b6d353ef75496604e247b0ceec74e63cb228708
parent705c7091262d02b09eb686c24491de61bf42fdb2
net: sched: avoid atomic swap in tcf_exts_change

tcf_exts_change is always called on newly created exts, which are not used
on fastpath. Therefore, simple struct copy is enough.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/cls_api.c
net/sched/cls_rsvp.h
net/sched/cls_tcindex.c