target/user: Make sure netlink would reach all network namespaces
authorSheng Yang <sheng@yasker.org>
Thu, 14 Jan 2016 01:26:13 +0000 (17:26 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 20 Jan 2016 09:38:38 +0000 (01:38 -0800)
commit20c08b362f4b0c41103fe9d75c61ca348d021441
tree33ad8360a59321dbaf9a0b7d4e69f96d83644468
parent21aaa23b0ebbd19334fa461370c03cbb076b3295
target/user: Make sure netlink would reach all network namespaces

The current code only allow netlink to reach the initial network namespace,
which caused trouble for any client running inside container.

This patch would make sure TCMU netlink would work for all network
namespaces.

Signed-off-by: Sheng Yang <sheng@yasker.org>
Acked-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c