lkml.org 
[lkml]   [2014]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: add a pre-check of net_ns in sk_change_net()
From
From: Gu Zheng <guz.fnst@cn.fujitsu.com>
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@cn.fujitsu.com>

Applied to net-next, thank you.


\
 
 \ /
  Last update: 2014-03-10 22:42    [W:0.056 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site