commit | a6ac65db2329e7685299666f5f7b6093c7b0f3a0 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jpirko@redhat.com> | Thu Jul 30 01:06:12 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 02 12:20:46 2009 -0700 |
tree | 02ce50a2a4321cb2872a26196fba6b4d4d41a2ba | |
parent | 50c643e7652458e649955408685a16e88ea6dbae [diff] |
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 <jpirko@redhat.com> Tested-by: Meelis Roos <mroos@linux.ee> Signed-off-by: David S. Miller <davem@davemloft.net>