<div dir="ltr">Sorry, I missed the list first time, please see inline comment below.<br><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><br>Best Regards, Tikhomirov Pavel.</div></div></div>
<br><div class="gmail_quote">2016-05-24 23:30 GMT+03:00 Andrey Vagin <span dir="ltr"><<a href="mailto:avagin@openvz.org" target="_blank">avagin@openvz.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Andrew Vagin <<a href="mailto:avagin@virtuozzo.com">avagin@virtuozzo.com</a>><br>
<br>
$ git log v4.4-rc1-465-gd6df198<br>
commit d6df198d924775e4751561cf60ef0294e95f74df<br>
Author: Phil Sutter <phil@nwl.cc><br>
Date: Tue Dec 1 22:45:15 2015 +0100<br>
<br>
net: ipv6: restrict hop_limit sysctl setting to range [1; 255]<br>
<br>
Setting a value bigger than 255 resulted in using only the lower eight<br>
bits of that value as it is assigned to the u8 header field. To avoid<br>
this unexpected result, reject such values.<br>
<br>
<a href="https://github.com/xemul/criu/issues/164" rel="noreferrer" target="_blank">https://github.com/xemul/criu/issues/164</a><br>
Signed-off-by: Andrew Vagin <<a href="mailto:avagin@virtuozzo.com">avagin@virtuozzo.com</a>><br>
---<br>
test/zdtm/static/netns-dev.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/test/zdtm/static/netns-dev.c b/test/zdtm/static/netns-dev.c<br>
index 37b7b04..30b7f6a 100644<br>
--- a/test/zdtm/static/netns-dev.c<br>
+++ b/test/zdtm/static/netns-dev.c<br>
@@ -156,7 +156,7 @@ struct range rand_range6[] = {<br>
{0, 2}, /* force_mld_version */<br>
{0, 1}, /* force_tllao */<br>
{0, 1}, /* forwarding */<br>
- {0, INT_MAX}, /* hop_limit */<br>
+ {0, 255}, /* hop_limit */<br></blockquote><div><br>May be we need {1, 255} here?<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
{0, 1}, /* ignore_routes_with_linkdown */<br>
{-1, 1}, /* keep_addr_on_down */<br>
{0, MAX_ADDRESSES}, /* max_addresses */<br>
<span class=""><font color="#888888">--<br>
2.7.4<br>
<br>
_______________________________________________<br>
CRIU mailing list<br>
<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
</font></span></blockquote></div><br></div></div></div>