[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180819.195617.287376807384738076.davem@davemloft.net>
Date: Sun, 19 Aug 2018 19:56:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanhaishuang@...s.chinamobile.com
Cc: steffen.klassert@...unet.com, kuznet@....inr.ac.ru,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ip6_vti: fix a null pointer deference when destroy
vti6 tunnel
From: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Date: Mon, 20 Aug 2018 10:51:05 +0800
> If load ip6_vti module and create a network namespace when set
> fb_tunnels_only_for_init_net to 1, then exit the namespace will
> cause following crash:
...
> This because ip6n->tnls_wc[0] point to fallback device in default, but
> in non-default namespace, ip6n->tnls_wc[0] will be NULL, so add the NULL
> check comparatively.
>
> Fixes: e2948e5af8ee ("ip6_vti: fix creating fallback tunnel device for vti6")
> Signed-off-by: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Ugh, applied, thanks.
Powered by blists - more mailing lists