From: Jia-Ju Bai <[email protected]>
Date: Fri, 26 Jul 2019 16:03:21 +0800

> @@ -646,9 +646,10 @@ static void vti6_link_config(struct ip6_tnl *t, bool 
> keep_mtu)
>                                                &p->raddr, &p->laddr,
>                                                p->link, NULL, strict);
>  
> -             if (rt)
> +             if (rt) {
>                       tdev = rt->dst.dev;
> -             ip6_rt_put(rt);
> +                     ip6_rt_put(rt);
> +             }

ip6_rt_put() can take a NULL argument without any problem.

I want to make it clear that because of mistakes of this nature, and
how frequently you make them, it is very tiring and exhausting to
review your changes...

Reply via email to