Re: [PATCHv2 net-next] team: call RCU read lock when walking the port_list

2019-10-09 Thread Jakub Kicinski
On Wed, 9 Oct 2019 20:18:28 +0800, Hangbin Liu wrote: > Before reading the team port list, we need to acquire the RCU read lock. > Also change list_for_each_entry() to list_for_each_entry_rcu(). > > v2: > repost the patch to net-next and remove fixes flag as this is a cosmetic > change. > > Sugg

[PATCHv2 net-next] team: call RCU read lock when walking the port_list

2019-10-09 Thread Hangbin Liu
Before reading the team port list, we need to acquire the RCU read lock. Also change list_for_each_entry() to list_for_each_entry_rcu(). v2: repost the patch to net-next and remove fixes flag as this is a cosmetic change. Suggested-by: Paolo Abeni Signed-off-by: Hangbin Liu Acked-by: Paolo Aben