Re: [PATCH net-next] net: allow to kill a task which waits net_mutex in copy_new_ns

From: David Miller
Date: Sun Oct 23 2016 - 17:34:22 EST


From: Andrei Vagin <avagin@xxxxxxxxxx>
Date: Thu, 20 Oct 2016 19:45:43 -0700

> From: Andrey Vagin <avagin@xxxxxxxxxx>
>
> net_mutex can be locked for a long time. It may be because many
> namespaces are being destroyed or many processes decide to create
> a network namespace.
>
> Both these operations are heavy, so it is better to have an ability to
> kill a process which is waiting net_mutex.
>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
> Signed-off-by: Andrei Vagin <avagin@xxxxxxxxxx>

Applied, thanks.