diff options
author | Jiri Pirko <jpirko@redhat.com> | 2009-07-30 01:06:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-02 12:20:46 -0700 |
commit | a6ac65db2329e7685299666f5f7b6093c7b0f3a0 (patch) | |
tree | 02ce50a2a4321cb2872a26196fba6b4d4d41a2ba /drivers/net/pcnet32.c | |
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>
Diffstat (limited to 'drivers/net/pcnet32.c')
0 files changed, 0 insertions, 0 deletions