On Fri, Sep 04, 2015 at 04:12:41PM -0700, Martin KaFai Lau wrote:
> @@ -1962,6 +1961,9 @@ static int __ip6_del_rt(struct rt6_info *rt, struct 
> nl_info *info)
>       if (rt == net->ipv6.ip6_null_entry) {
>               err = -ENOENT;
>               goto out;
> +     } else if (rt->dst.flags & DST_NOCACHE) {
> +             err = -ENOENT;
> +             goto out;
>       }
These two cases should be merged.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to