From: Jiri Pirko Date: Thu, 30 Jul 2009 01:06:12 +0000 (+0000) Subject: net: restore the original spinlock to protect unicast list X-Git-Tag: v2.6.31-rc6~68^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6ac65db2329e7685299666f5f7b6093c7b0f3a0;p=pandora-kernel.git net: restore the original spinlock to protect unicast list There is a path when an assetion in dev_unicast_sync() appears. igmp6_group_added -> dev_mc_add -> __dev_set_rx_mode -> -> vlan_dev_set_rx_mode -> dev_unicast_sync Therefore we cannot protect this list with rtnl. This patch restores the original protecting this list with spinlock. Signed-off-by: Jiri Pirko Tested-by: Meelis Roos Signed-off-by: David S. Miller --- Reading git-diff-tree failed