summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-08-05 02:19:38 +0200
committerDavid S. Miller <davem@davemloft.net>2013-08-05 03:41:52 +0200
commit762a3d89ebf5873f71b3839449ac6562049ef1ce (patch)
treeb5a7874456d199ac69492ca3be6a4cb638ce73f7 /net/bridge/br_private.h
parentax88179_178a: avoid copy of tx tcp packets (diff)
downloadlinux-762a3d89ebf5873f71b3839449ac6562049ef1ce.tar.xz
linux-762a3d89ebf5873f71b3839449ac6562049ef1ce.zip
bridge: fix rcu check warning in multicast port group
Use of RCU here with out marked pointer and function doesn't match prototype with sparse. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index 1514c9f4f102..d41283c57952 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -466,7 +466,7 @@ extern void br_multicast_free_pg(struct rcu_head *head);
extern struct net_bridge_port_group *br_multicast_new_port_group(
struct net_bridge_port *port,
struct br_ip *group,
- struct net_bridge_port_group *next,
+ struct net_bridge_port_group __rcu *next,
unsigned char state);
extern void br_mdb_init(void);
extern void br_mdb_uninit(void);