Re: [PATCH] l2tp: Fix possible NULL pointer dereference
On Mon, May 06, 2019 at 10:44:04PM +0800, YueHaibing wrote: > If alloc_workqueue fails in l2tp_init, l2tp_net_ops > is unregistered on failure path. Then l2tp_exit_net > is called which will flush NULL workqueue, this patch > add a NULL check to fix it. > Thanks!