diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2018-07-05 17:24:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-08 06:42:28 +0300 |
commit | eec94fdb04806790c7b7e6ea347820064cc6d467 (patch) | |
tree | c89619835d2251871fb2b3cd59de939bef9e49af /include/net/pkt_cls.h | |
parent | b233504033dbd65740e59681820ccfd0a2a8ec53 (diff) | |
download | linux-eec94fdb04806790c7b7e6ea347820064cc6d467.tar.xz |
net: sched: use rcu for action cookie update
Implement functions to atomically update and free action cookie
using rcu mechanism.
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r-- | include/net/pkt_cls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 6641584b27f1..2081e4219f81 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -781,6 +781,7 @@ struct tc_mqprio_qopt_offload { struct tc_cookie { u8 *data; u32 len; + struct rcu_head rcu; }; struct tc_qopt_offload_stats { |