diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-06-08 15:00:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-27 11:27:32 -0700 |
commit | a50ebefd35d237b3a6112e5fbea6d55e7ae4b509 (patch) | |
tree | d0c0d514faa7cab48a4cc53076e2e5acc0ed9a53 /lib/mpi/mpi-div.c | |
parent | 93f75344976da9eb5f411312d2d46d37d9223fd2 (diff) |
team: check return value of team_get_port_by_index_rcu() for NULL
[ Upstream commit 76c455decbbad31de21c727edb184a963f42b40b ]
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 753f993911b "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>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions