[CRIU] [PATCH 02/11] images: sk-packet -- Reserve data for netlink queue support
Andrey Vagin
avagin at virtuozzo.com
Fri Aug 5 12:45:21 PDT 2016
On Fri, Aug 05, 2016 at 10:40:25PM +0300, Cyrill Gorcunov wrote:
> On Fri, Aug 05, 2016 at 11:40:54AM -0700, Andrey Vagin wrote:
> > >
> > > IIRC it's an address of message in memory. Andrew did it. Andrew?
> >
> > It isn't enough to save only id for netlink sockets:
> >
> > struct sockaddr_nl {
> > __kernel_sa_family_t nl_family; /* AF_NETLINK */
> > unsigned short nl_pad; /* zero */
> > __u32 nl_pid; /* port ID */
> > __u32 nl_groups; /* multicast groups mask */
> > };
>
> Wait. Have you added some more field in protobuf message?
> Currently only @addr field is present in vz7 criu in compare
> with vanilla one.
addr is an array of bytes and I saved a whole addr there. It is
intersting question how do we save an addres for unix messages, if a
sender doesn't exist (have been closed).
More information about the CRIU
mailing list