[CRIU] [PATCH 0/4] net: Handle missing ipv4 conf entries, v2

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 30 13:07:54 PDT 2015


On 3.10 kernel some ipv4 entries are not yet implemented so
we fail when try to read/write values there.

Lets check if they are present before processing.

With this series I can c/r centos6 container again on openvz 3.10 kernel.

p.s.: Happy holidays guys!

Cyrill Gorcunov (4):
  net: Use snprintf instead of sprintf
  sysctl: Pass number of requests in argument
  net: Make  @devconfs static
  net: Make sure the entries exist before read them

 include/net.h    |  2 ++
 include/sysctl.h |  2 +-
 ipc_ns.c         | 18 ++++++------------
 kerndat.c        |  6 ++----
 net.c            | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
 sysctl.c         |  4 ++--
 uts_ns.c         |  5 ++---
 7 files changed, 67 insertions(+), 26 deletions(-)

-- 
2.1.0



More information about the CRIU mailing list