linux_dsm_epyc7002/drivers/net/team
Hangbin Liu c17e26ddc7 team: call RCU read lock when walking the port_list
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 <pabeni@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
2019-10-09 21:13:59 -07:00
..
Kconfig
Makefile
team_mode_activebackup.c
team_mode_broadcast.c
team_mode_loadbalance.c
team_mode_random.c
team_mode_roundrobin.c
team.c team: call RCU read lock when walking the port_list 2019-10-09 21:13:59 -07:00