hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/tipc/subscr.h
....@@ -47,12 +47,15 @@
4747
4848 /**
4949 * struct tipc_subscription - TIPC network topology subscription object
50
- * @subscriber: pointer to its subscriber
51
- * @seq: name sequence associated with subscription
50
+ * @kref: reference count for this subscription
51
+ * @net: network namespace associated with subscription
5252 * @timer: timer governing subscription duration (optional)
53
- * @nameseq_list: adjacent subscriptions in name sequence's subscription list
53
+ * @service_list: adjacent subscriptions in name sequence's subscription list
5454 * @sub_list: adjacent subscriptions in subscriber's subscription list
5555 * @evt: template for events generated by subscription
56
+ * @conid: connection identifier of topology server
57
+ * @inactive: true if this subscription is inactive
58
+ * @lock: serialize up/down and timer events
5659 */
5760 struct tipc_subscription {
5861 struct kref kref;
....@@ -63,7 +66,7 @@
6366 struct tipc_event evt;
6467 int conid;
6568 bool inactive;
66
- spinlock_t lock; /* serialize up/down and timer events */
69
+ spinlock_t lock;
6770 };
6871
6972 struct tipc_subscription *tipc_sub_subscribe(struct net *net,