diff options
-rw-r--r-- | net/bridge/br_multicast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index e29c9b738796..fcba313f1894 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c | |||
@@ -1045,7 +1045,7 @@ static void br_multicast_add_router(struct net_bridge *br, | |||
1045 | struct net_bridge_port *p; | 1045 | struct net_bridge_port *p; |
1046 | struct hlist_node *n, *last = NULL; | 1046 | struct hlist_node *n, *last = NULL; |
1047 | 1047 | ||
1048 | hlist_for_each_entry_rcu(p, n, &br->router_list, rlist) { | 1048 | hlist_for_each_entry(p, n, &br->router_list, rlist) { |
1049 | if ((unsigned long) port >= (unsigned long) p) { | 1049 | if ((unsigned long) port >= (unsigned long) p) { |
1050 | hlist_add_before_rcu(n, &port->rlist); | 1050 | hlist_add_before_rcu(n, &port->rlist); |
1051 | return; | 1051 | return; |