Re: [PATCH] net: add a pre-check of net_ns in sk_change_net()
From: David Miller
Date: Mon Mar 10 2014 - 16:30:21 EST
From: Gu Zheng <guz.fnst@xxxxxxxxxxxxxx>
Date: Mon, 10 Mar 2014 09:57:34 +0800
> We do not need to switch the net_ns if the target net_ns the same
> as the current one, so here we add a pre-check of net_ns to avoid
> this as David suggested.
>
> Signed-off-by: Gu Zheng <guz.fnst@xxxxxxxxxxxxxx>
Applied to net-next, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/