diff options
author | Erik Hugne <erik.hugne@gmail.com> | 2016-04-07 16:40:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-11 21:22:20 +0200 |
commit | 541726abe7daca64390c2ec34e6a203145f1686d (patch) | |
tree | d335e57ce92b7092cadd7c6e406d3b0c5bfa56e6 /net/tipc/core.h | |
parent | cxgb4: Stop Rx Queues before freeing it up (diff) | |
download | linux-541726abe7daca64390c2ec34e6a203145f1686d.tar.xz linux-541726abe7daca64390c2ec34e6a203145f1686d.zip |
tipc: make dist queue pernet
Nametable updates received from the network that cannot be applied
immediately are placed on a defer queue. This queue is global to the
TIPC module, which might cause problems when using TIPC in containers.
To prevent nametable updates from escaping into the wrong namespace,
we make the queue pernet instead.
Signed-off-by: Erik Hugne <erik.hugne@gmail.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index 5504d63503df..eff58dc53aa1 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h @@ -103,6 +103,9 @@ struct tipc_net { spinlock_t nametbl_lock; struct name_table *nametbl; + /* Name dist queue */ + struct list_head dist_queue; + /* Topology subscription server */ struct tipc_server *topsrv; atomic_t subscription_count; |