Loading net/ipv6/route.c +16 −16 Original line number Diff line number Diff line Loading @@ -1711,12 +1711,13 @@ static int ip6_convert_metrics(struct mx6_config *mxc, nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { int type = nla_type(nla); if (type) { u32 val; if (!type) continue; if (unlikely(type > RTAX_MAX)) goto err; if (type == RTAX_CC_ALGO) { char tmp[TCP_CA_NAME_MAX]; Loading @@ -1731,7 +1732,6 @@ static int ip6_convert_metrics(struct mx6_config *mxc, mp[type - 1] = val; __set_bit(type - 1, mxc->mx_valid); } } mxc->mx = mp; Loading Loading
net/ipv6/route.c +16 −16 Original line number Diff line number Diff line Loading @@ -1711,12 +1711,13 @@ static int ip6_convert_metrics(struct mx6_config *mxc, nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { int type = nla_type(nla); if (type) { u32 val; if (!type) continue; if (unlikely(type > RTAX_MAX)) goto err; if (type == RTAX_CC_ALGO) { char tmp[TCP_CA_NAME_MAX]; Loading @@ -1731,7 +1732,6 @@ static int ip6_convert_metrics(struct mx6_config *mxc, mp[type - 1] = val; __set_bit(type - 1, mxc->mx_valid); } } mxc->mx = mp; Loading