OSDN Git Service

net: Cleanup in copy_net_ns()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 13 Feb 2018 09:26:13 +0000 (12:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 15:36:04 +0000 (10:36 -0500)
commit5ba049a5cc8e24a1643df75bbf65b4efa070fa74
tree268967536975bbe7f6bbb7d5db8154aad3871792
parent98f6c533a3e98f21305575f0cf87cdb6c2210c43
net: Cleanup in copy_net_ns()

Line up destructors actions in the revers order
to constructors. Next patches will add more actions,
and this will be comfortable, if there is the such
order.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c