Re: [PATCH] net: core: dev: Initialise napi state correctly

2019-01-23 Thread Eric Dumazet
On 01/23/2019 10:49 AM, David McKay wrote: > On Fri, 18 Jan 2019 at 17:15, Eric Dumazet wrote: >> >> >> >> On 01/18/2019 04:46 AM, Dave McKay wrote: >>> The state member of the napi_struct is not initialised correctly, it >>> sets the SCHED bit without initialising the state to zero first. This

Re: [PATCH] net: core: dev: Initialise napi state correctly

2019-01-22 Thread David Miller
From: Dave McKay Date: Fri, 18 Jan 2019 12:46:32 + > 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 r

Re: [PATCH] net: core: dev: Initialise napi state correctly

2019-01-18 Thread David McKay
On Fri, 18 Jan 2019 at 17:15, Eric Dumazet wrote: > > > > On 01/18/2019 04:46 AM, Dave McKay wrote: > > 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 n

Re: [PATCH] net: core: dev: Initialise napi state correctly

2019-01-18 Thread Eric Dumazet
On 01/18/2019 04:46 AM, Dave McKay wrote: > 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 sta

[PATCH] net: core: dev: Initialise napi state correctly

2019-01-18 Thread Dave McKay
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