]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit326bb036be872450b369548aee1dd9066ebc2dd4
tree268967536975bbe7f6bbb7d5db8154aad3871792
parent705fdc4101c06d7d4dd09d60cb1d41e7fdf9cf10
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