tipc: make dist queue pernet
authorErik Hugne <erik.hugne@gmail.com>
Thu, 7 Apr 2016 14:40:43 +0000 (10:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Apr 2017 03:49:27 +0000 (05:49 +0200)
commit3f31559043087b9cd45582c2eb12d7900cedc4ed
tree2d986ffc2352b42131567b51598e48df28ba22f2
parent44b3b7e068874040ca511fcd2a812b5fbcf44616
tipc: make dist queue pernet

commit 541726abe7daca64390c2ec34e6a203145f1686d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/tipc/core.c
net/tipc/core.h
net/tipc/name_distr.c