From: Benjamin Thery Date: Tue, 20 Nov 2007 07:18:16 +0000 (-0800) Subject: [NET]: Make netns cleanup to run in a separate queue X-Git-Tag: v2.6.25-rc1~1162^2~1377 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef1355dcb8551730cc71e9ef4363f5c66ccad17;p=pandora-kernel.git [NET]: Make netns cleanup to run in a separate queue This patch adds a separate workqueue for cleaning up a network namespace. If we use the keventd workqueue to execute cleanup_net(), there is a problem to unregister devices in IPv6. Indeed the code that cleans up also schedule work in keventd: as long as cleanup_net() hasn't return, dst_gc_task() cannot run and as long as dst_gc_task() has not run, there are still some references pending on the net devices and cleanup_net() can not unregister and exit the keventd workqueue. Signed-off-by: Benjamin Thery Signed-off-by: Daniel Lezcano Acked-by: Denis V. Lunev Acked-By: Kirill Korotaev Signed-off-by: David S. Miller --- Reading git-diff-tree failed