From: Dave McKay <mckay.da...@gmail.com>
Date: Fri, 18 Jan 2019 12:46:32 +0000

> The state member of the napi_struct is not initialised correctly, it
> sets the SCHED bit without initialising the state to zero first. This
> results in peculiar behaviour if the original napi_struct didn't come
> from a zero initialised region to start with.
> 
> This patch just sets it directly using the appropriate bitfield
> constant.
> 
> Signed-off-by: Dave McKay <mckay.da...@gmail.com>

Caller needs to pass in properly initialized memory, that means
bzero()'d.

Reply via email to