aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorYing Xue <[email protected]>2015-03-18 01:32:59 +0000
committerDavid S. Miller <[email protected]>2015-03-18 02:11:26 +0000
commit2b9bb7f338502d9d01543daa9fdf4a7f104bd572 (patch)
tree63ae1de352f41570ea39d5fa5dd2c2dff5696dc6 /drivers/net/xen-netback/interface.c
parenttipc: fix a potential deadlock when nametable is purged (diff)
downloadkernel-2b9bb7f338502d9d01543daa9fdf4a7f104bd572.tar.gz
kernel-2b9bb7f338502d9d01543daa9fdf4a7f104bd572.zip
tipc: withdraw tipc topology server name when namespace is deleted
The TIPC topology server is a per namespace service associated with the tipc name {1, 1}. When a namespace is deleted, that name must be withdrawn before we call sk_release_kernel because the kernel socket release is done in init_net and trying to withdraw a TIPC name published in another namespace will fail with an error as: [ 170.093264] Unable to remove local publication [ 170.093264] (type=1, lower=1, ref=2184244004, key=2184244005) We fix this by breaking the association between the topology server name and socket before calling sk_release_kernel. Signed-off-by: Ying Xue <[email protected]> Reviewed-by: Erik Hugne <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions