From: Jiri Pirko Date: Sat, 8 Jun 2013 13:00:53 +0000 (+0200) Subject: team: check return value of team_get_port_by_index_rcu() for NULL X-Git-Tag: v3.10-rc6~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76c455decbbad31de21c727edb184a963f42b40b;p=pandora-kernel.git team: check return value of team_get_port_by_index_rcu() for NULL 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed