summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_fdb.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-07-01 12:45:34 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-07-01 12:45:34 -0700
commita53f4b61a76a7e95139b8e8abba02e9bfe87a58a (patch)
treeb3c858674ceb6c96e6421550454a9e8cf9200f1d /net/bridge/br_fdb.c
parent0a54cec0c25cc49e3b68b14c205f1f6cff13f5e1 (diff)
downloadlinux-a53f4b61a76a7e95139b8e8abba02e9bfe87a58a.tar.gz
linux-a53f4b61a76a7e95139b8e8abba02e9bfe87a58a.tar.bz2
linux-a53f4b61a76a7e95139b8e8abba02e9bfe87a58a.zip
Revert "net: Make accesses to ->br_port safe for sparse RCU"
This reverts commit 81bdf5bd7349bd4523538cbd7878f334bc2bfe14, which is obsoleted by commit f350a0a87374 from the net tree.
Diffstat (limited to 'net/bridge/br_fdb.c')
-rw-r--r--net/bridge/br_fdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index 09c479e05623..b01dde35a69e 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -244,7 +244,7 @@ int br_fdb_test_addr(struct net_device *dev, unsigned char *addr)
return 0;
rcu_read_lock();
- fdb = __br_fdb_get(br_port(dev)->br, addr);
+ fdb = __br_fdb_get(dev->br_port->br, addr);
ret = fdb && fdb->dst->dev != dev &&
fdb->dst->state == BR_STATE_FORWARDING;
rcu_read_unlock();