]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/tipc/subscr.h
tipc: name tipc name table support net namespace
[karo-tx-linux.git] / net / tipc / subscr.h
index 0d3958956aca9252944fc4ac6a724ad0804ff920..670f57096635511ec44dd0f72abc2449bfdb4f4b 100644 (file)
@@ -49,6 +49,7 @@ struct tipc_subscriber;
  * struct tipc_subscription - TIPC network topology subscription object
  * @subscriber: pointer to its subscriber
  * @seq: name sequence associated with subscription
+ * @net: point to network namespace
  * @timeout: duration of subscription (in ms)
  * @filter: event filtering to be done for subscription
  * @timer: timer governing subscription duration (optional)
@@ -61,6 +62,7 @@ struct tipc_subscriber;
 struct tipc_subscription {
        struct tipc_subscriber *subscriber;
        struct tipc_name_seq seq;
+       struct net *net;
        unsigned long timeout;
        u32 filter;
        struct timer_list timer;