Re: [PATCH net-next] net: add an ioctl to get a socket network namespace

2016-10-31 Thread David Miller
From: Andrei Vagin Date: Mon, 24 Oct 2016 18:29:13 -0700 > From: Andrey Vagin > > Each socket operates in a network namespace where it has been created, > so if we want to dump and restore a socket, we have to know its network > namespace. > > We have a socket_diag to get information about soc

[PATCH net-next] net: add an ioctl to get a socket network namespace

2016-10-24 Thread Andrei Vagin
From: Andrey Vagin Each socket operates in a network namespace where it has been created, so if we want to dump and restore a socket, we have to know its network namespace. We have a socket_diag to get information about sockets, it doesn't report sockets which are not bound or connected. This p