[CRIU] [PATCH v2 00/10] inet: raw -- Add initial support for raw sockets

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 22 12:13:39 MSK 2018


I've grabbed Kirill's patch as well. The patches are in ip-raw-6 branch
of my repo. Travis passed

 | https://travis-ci.org/cyrillos/criu/builds/356749998

Cyrill Gorcunov (9):
  inet: raw -- Add constants needed to fetch properties of a raw socket
  inet: raw -- Check for kernel diag module support
  inet: raw -- Fetch socket type and check for being raw in can_dump_ipproto
  inet: raw -- Reuse already known family and type in gen_uncon_sk
  inet: raw -- Prepare gen_uncon_sk for raw sockets
  inet: raw -- Add raw sockets into can_dump_inet_sk
  inet: raw -- Dump raw sockets options
  inet: raw -- Add restore of raw sockets
  inet: raw -- Add simple socket-raw test

Kirill Tkhai (1):
  inet: raw -- Skip IP_FREEBIND for ipv6 SOCK_RAW sockets

 criu/cr-check.c                  |   9 ++
 criu/include/sk-inet.h           |  12 ++
 criu/sk-inet.c                   |  98 ++++++++------
 criu/sockets.c                   |  33 +++++
 images/sk-inet.proto             |   5 +-
 test/zdtm/static/Makefile        |   1 +
 test/zdtm/static/socket-raw.c    | 279 +++++++++++++++++++++++++++++++++++++++
 test/zdtm/static/socket-raw.desc |   1 +
 8 files changed, 398 insertions(+), 40 deletions(-)
 create mode 100644 test/zdtm/static/socket-raw.c
 create mode 100644 test/zdtm/static/socket-raw.desc

-- 
2.14.3



More information about the CRIU mailing list