Hi! Here are few bugs fixed
- we may hit nil dereference problem when dereferencing parent's ids in mount
code
- calling shutwodn on udp closed sockets should not prevent the restore
Please take a look, I think the vanilla criu needs the same fixes.
https://jira.sw.ru/browse/PSBM-68062
Cyril
If socket has been connected and shutted down, it may get
disconnected then leaving shutdown mode set inside (which
we pull into image). On restore we should not fail when
calling shutdown over -- the kernel has a hack to inform
listeners even on closed sockets. From userspace perspective
to reuse
In case if our parent is a dead task (zombie) we should lookup
for parent ids which will be inherited on restore. Otherwise
parent->ids may be nil and SIGSEGV produced.
https://jira.sw.ru/browse/PSBM-68062
Signed-off-by: Cyrill Gorcunov
---
criu/mount.c | 7 +--
1 file changed, 5 insertions