[Devel] [PATCH net-next 0/3] [RFC] netlink: prepare to dump and restore data from a receive queue

Cyrill Gorcunov gorcunov at virtuozzo.com
Thu Jun 16 09:03:21 PDT 2016


On Wed, Jun 15, 2016 at 12:09:18AM -0700, Andrey Vagin wrote:
> CRIU can dump queued data for unix and tcp sockets,
> now it's time for netlink sockets.
> 
> Here are there questions.
> * How to dump data from a receive queue
>   We can set peeking offset like we do for unix sockets.
> 
> * How to restore data back to a receive queue
>   I suggest to add a repair mode like we do for tcp sockets.
> 
> * When we can dump data from a receive queue.
>   I think we can do this only if a socket doesn't have a running callback.
> 
> Andrey Vagin (3):
>   netlink: allow to set peeking offset for sockets
>   netlink: add an ability to restore messages in a receive queue
>   netlink/diag: report flags for netlink sockets

Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>

I think we might need to introduce mutex for this
sockets on top, or at least for our case simply
allow to repair mode under pseudosuper for now?


More information about the Devel mailing list