summaryrefslogtreecommitdiffstats
path: root/include/net/psample.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/psample.h')
-rw-r--r--include/net/psample.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/psample.h b/include/net/psample.h
index 37a4df2325b2..68ae16bb0a4a 100644
--- a/include/net/psample.h
+++ b/include/net/psample.h
@@ -11,9 +11,11 @@ struct psample_group {
u32 group_num;
u32 refcount;
u32 seq;
+ struct rcu_head rcu;
};
struct psample_group *psample_group_get(struct net *net, u32 group_num);
+void psample_group_take(struct psample_group *group);
void psample_group_put(struct psample_group *group);
#if IS_ENABLED(CONFIG_PSAMPLE)