Messages in this thread | | | Date | Sun, 19 Aug 2018 19:56:17 -0700 (PDT) | Subject | Re: [PATCH] ip6_vti: fix a null pointer deference when destroy vti6 tunnel | From | David Miller <> |
| |
From: Haishuang Yan <yanhaishuang@cmss.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@cmss.chinamobile.com>
Ugh, applied, thanks.
| |