tipc: make dist queue pernet
authorErik Hugne <erik.hugne@gmail.com>
Thu, 7 Apr 2016 14:40:43 +0000 (10:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:22:20 +0000 (15:22 -0400)
commit541726abe7daca64390c2ec34e6a203145f1686d
treed335e57ce92b7092cadd7c6e406d3b0c5bfa56e6
parentebf4dc2b1b2b9c8c7797f01a952bce3cf0247a4f
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>
net/tipc/core.c
net/tipc/core.h
net/tipc/name_distr.c