Re: [PATCH net-next] sfc: clear napi_hash state when copying channels

2016-11-13 Thread David Miller
From: Bert Kenward Date: Fri, 11 Nov 2016 15:56:51 + > efx_copy_channel() doesn't correctly clear the napi_hash related state. > This means that when napi_hash_add is called for that channel nothing is > done, and we are left with a copy of the napi_hash_node from the old > channel. When we l

Re: [PATCH net-next] sfc: clear napi_hash state when copying channels

2016-11-11 Thread Bert Kenward
Apologies, this was meant for net, not net-next. Shall I resubmit? Bert.

[PATCH net-next] sfc: clear napi_hash state when copying channels

2016-11-11 Thread Bert Kenward
efx_copy_channel() doesn't correctly clear the napi_hash related state. This means that when napi_hash_add is called for that channel nothing is done, and we are left with a copy of the napi_hash_node from the old channel. When we later call napi_hash_del() on this channel we have a stale napi_hash