-
Pavel Tikhomirov authored
* old MAX_CONF_OPT_PATH should be enough for ipv6 path array as len('net/ipv6/conf//mldv2_unsolicited_report_interval') is 48 but len and size are almost back to back, so increase it a bit, to don't worry about it. reading stable_secret before it is initialized fails with EIO, we can safely skip dumping it in that case as in new netns it will be uninitialized by default v6: use __CTL_STR without len in image type v9: set flag CTL_FLAGS_READ_EIO_SKIP for stable_secret dumping Signed-off-by:
Pavel Tikhomirov <ptikhomirov@virtuozzo.com> Reviewed-by:
Andrew Vagin <avagin@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
715a08b4