bridge: Use RCU list primitive in __br_mdb_ip_get
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Mar 2010 21:07:39 +0000 (21:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Mar 2010 23:31:12 +0000 (15:31 -0800)
commit49f5fcfd4ac3df24aa66520e1c5f37db5dfa8c10
tree7fad39a6ebffeec4c7aa3a217c3389454ed4e909
parent0c9a2ac1f8a2e55b3382dfc27256878a58ea49e9
bridge: Use RCU list primitive in __br_mdb_ip_get

As Paul McKenney correctly pointed out, __br_mdb_ip_get needs
to use the RCU list walking primitive in order to work correctly
on platforms where data-dependency ordering is not guaranteed.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c