diff --git a/criu/net.c b/criu/net.c index 4f62d76c75..297295b59d 100644 --- a/criu/net.c +++ b/criu/net.c @@ -373,7 +373,7 @@ static int dump_one_netdev(int type, struct ifinfomsg *ifi, SysctlEntry *confs6 = NULL; int size6 = ARRAY_SIZE(devconfs6); char stable_secret[MAX_STR_CONF_LEN + 1] = {}; - struct nlattr *info[IFLA_INFO_MAX], **arg = NULL; + struct nlattr *info[IFLA_INFO_MAX + 1], **arg = NULL; if (!tb[IFLA_IFNAME]) { pr_err("No name for link %d\n", ifi->ifi_index);