aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorElad Raz <eladr@mellanox.com>2016-02-03 09:57:06 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-09 04:42:47 -0500
commit9e8430f8d60d985c9f292b5eb5790cc13a87200c (patch)
tree8d83b5b9469396f25eb8e75b02d189bd6d4665ea /net/bridge/br_private.h
parentbridge: mdb: Separate br_mdb_entry->state from net_bridge_port_group->state (diff)
downloadlinux-dev-9e8430f8d60d985c9f292b5eb5790cc13a87200c.tar.xz
linux-dev-9e8430f8d60d985c9f292b5eb5790cc13a87200c.zip
bridge: mdb: Passing the port-group pointer to br_mdb module
Passing the port-group to br_mdb in order to allow direct access to the structure. br_mdb will later use the structure to reflect HW reflection status via "state" variable. Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/bridge/br_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index 67f4dce3c3d2..302ab0a43725 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -560,8 +560,8 @@ br_multicast_new_port_group(struct net_bridge_port *port, struct br_ip *group,
unsigned char flags);
void br_mdb_init(void);
void br_mdb_uninit(void);
-void br_mdb_notify(struct net_device *dev, struct net_bridge_port *port,
- struct br_ip *group, int type, u8 flags);
+void br_mdb_notify(struct net_device *dev, struct net_bridge_port_group *pg,
+ int type);
void br_rtr_notify(struct net_device *dev, struct net_bridge_port *port,
int type);