[PATCH 0/3] liveupdate: fix incoming error handling and teardown paths

Leo Timmins posted 3 patches 1 week, 2 days ago
There is a newer version of this series
kernel/liveupdate/luo_flb.c     | 16 +++++++++++++++-
kernel/liveupdate/luo_session.c | 13 ++++++++++---
2 files changed, 25 insertions(+), 4 deletions(-)
[PATCH 0/3] liveupdate: fix incoming error handling and teardown paths
Posted by Leo Timmins 1 week, 2 days ago
Hi,

This series fixes three small issues in LUO's incoming-side error handling
and teardown paths.

The first patch makes session deserialization fail when file
deserialization fails, instead of silently continuing with a partially
restored session.

The second patch keeps an incoming session retrievable if automatic
finish-on-release fails. The VFS ignores ->release() return values during
__fput(), so preserving recoverability is more useful than returning an
error that userspace will never see.

The third patch initializes incoming FLB state before the finish path
decrements its refcount, so the last-user cleanup path does not run from
an uninitialized count.

Leo Timmins (3):
  liveupdate: propagate file deserialization failures
  liveupdate: keep sessions retrievable after release failures
  liveupdate: initialize incoming FLB state before finish

 kernel/liveupdate/luo_flb.c     | 16 +++++++++++++++-
 kernel/liveupdate/luo_session.c | 13 ++++++++++---
 2 files changed, 25 insertions(+), 4 deletions(-)

-- 
2.53.0