linux/drivers/net/team
Jiri Pirko a50ebefd35 team: check return value of team_get_port_by_index_rcu() for NULL
[ Upstream commit 76c455decb ]

team_get_port_by_index_rcu() might return NULL due to race between port
removal and skb tx path. Panic is easily triggeable when txing packets
and adding/removing port in a loop.

introduced by commit 3d249d4ca "net: introduce ethernet teaming device"
and commit 753f993911 "team: introduce random mode" (for random mode)

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-27 11:27:32 -07:00
..
Kconfig
Makefile
team_mode_activebackup.c net: treewide use of RCU_INIT_POINTER 2011-11-23 18:48:19 -05:00
team_mode_roundrobin.c team: check return value of team_get_port_by_index_rcu() for NULL 2013-06-27 11:27:32 -07:00
team.c net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00