+6
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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> Signed-off-by:
David S. Miller <davem@davemloft.net>