[CRIU] [PATCH 0/2] sockets: Placate logger when diag modules are missing

Cyrill Gorcunov gorcunov at gmail.com
Thu Sep 27 13:51:35 MSK 2018


Just to make logger less spammed with

Error (criu/libnetlink.c:27): ERROR -2 reported by netlink (No such file or directory)
Warn  (criu/sockets.c:791): sockets: The current kernel doesn't support ipv4 raw_diag module
Error (criu/libnetlink.c:27): ERROR -2 reported by netlink (No such file or directory)
Warn  (criu/sockets.c:834): sockets: The current kernel doesn't support ipv6 raw_diag module

I didn't tested it *that* much so please review carefully.

Cyrill Gorcunov (2):
  net: libnetlink -- Call error handler instead of unconditional error message
  net: sockets -- Don't spam log with known errors

 criu/include/libnetlink.h |  2 +-
 criu/libnetlink.c         | 20 +++++------
 criu/sockets.c            | 72 ++++++++++++++++++++++-----------------
 3 files changed, 49 insertions(+), 45 deletions(-)

-- 
2.17.1



More information about the CRIU mailing list