]> git.baikalelectronics.ru Git - kernel.git/commit
act_sample: get rid of tcf_sample_cleanup_rcu()
authorCong Wang <xiyou.wangcong@gmail.com>
Thu, 30 Nov 2017 00:07:51 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 15:19:17 +0000 (10:19 -0500)
commit3c11d86bebc4c8920b15e4b7417e7d850456bd30
treec6a01f160b5ca6939d4c2c701273a3b46e859971
parent0764be28ef936ad4f98e3ac3b164a4c7c8553261
act_sample: get rid of tcf_sample_cleanup_rcu()

Similar to commit 4662736dc1c9 ("net_sched: get rid of tcfa_rcu"),
TC actions don't need to respect RCU grace period, because it
is either just detached from tc filter (standalone case) or
it is removed together with tc filter (bound case) in which case
RCU grace period is already respected at filter layer.

Fixes: fde70ae9fd2f ("net/sched: Introduce sample tc action")
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_sample.h
net/sched/act_sample.c