]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 23 Jun 2017 04:10:45 +0000 (21:10 -0700)
commitadfbf14e15b0564365ad81d324e6eaa1eaa33936
tree4d967a4fa008c8e25922dff4a03277f39137e12c
parent3878c613ff3f7cb2f207055ff1e928306df7abef
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>
Orabug: 25395066
(cherry picked from commit 20c08b362f4b0c41103fe9d75c61ca348d021441)
Signed-off-by: Kyle Fortin <kyle.fortin@oracle.com>
Reviewed-by: Shan Hai <shan.hai@oracle.com>
drivers/target/target_core_user.c