Pan Bian <bianpan201603@xxxxxxx> wrote: > From: Pan Bian <bianpan2016@xxxxxxx> > > Function create_singlethread_workqueue() will return a NULL pointer if > there is no enough memory, and its return value should be validated > before using. However, in function rndis_wlan_bind(), its return value > is not checked. This may cause NULL dereference bugs. This patch fixes > it. > > Signed-off-by: Pan Bian <bianpan2016@xxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 9dc7efd3978a rndis_wlan: add return value validation -- https://patchwork.kernel.org/patch/9695387/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches