mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
netlink: fix netlink fd flags dump/restore failed
During the restore process, netlink fd uses the flags in the NetlinkSkEntry structure to restore the file state, but during the dump process, the flags values is not saved to the structure. Signed-off-by: zhoujie <zhoujie133@huawei.com> Signed-off-by: hejingxian <hejingxian@huawei.com>
This commit is contained in:
parent
6c728df1dc
commit
45e4a6b274
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ static int dump_one_netlink_fd(int lfd, u32 id, const struct fd_parms *p)
|
|||
|
||||
ne.protocol = val;
|
||||
}
|
||||
|
||||
ne.flags = p->flags;
|
||||
ne.fown = (FownEntry *)&p->fown;
|
||||
ne.opts = &skopts;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue