[CRIU] [PATCH] inet: raw -- Reserve image members for sockets options

Cyrill Gorcunov gorcunov at gmail.com
Tue Sep 25 19:20:05 MSK 2018


In vz7 we've a slightly different code base where fields
2 and 3 are already used. So lets reserve them and move
raw member to another number.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 images/sk-inet.proto | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/images/sk-inet.proto b/images/sk-inet.proto
index 84306ad5a4b0..75d565dcdd4c 100644
--- a/images/sk-inet.proto
+++ b/images/sk-inet.proto
@@ -13,7 +13,8 @@ message ip_opts_raw_entry {
 
 message ip_opts_entry {
 	optional bool			freebind	= 1;
-	optional ip_opts_raw_entry	raw		= 2;
+	// Fields 2 and 3 are reserved for vz7 use
+	optional ip_opts_raw_entry	raw		= 4;
 }
 
 message inet_sk_entry {
-- 
2.17.1



More information about the CRIU mailing list