summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2014-07-10 07:01:58 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-10 12:37:33 -0700
commit5d5eacb34c9e1fdc0a47b885d832eaa4de860dc7 (patch)
tree880d3849c474c2d307928b99d22f9a4354e1387a /net/bridge/br_private.h
parent69b4b7a4148e94a3fe7f06f72ee70113a6c61837 (diff)
downloadop-kernel-dev-5d5eacb34c9e1fdc0a47b885d832eaa4de860dc7.zip
op-kernel-dev-5d5eacb34c9e1fdc0a47b885d832eaa4de860dc7.tar.gz
bridge: fdb dumping takes a filter device
Dumping a bridge fdb dumps every fdb entry held. With this change we are going to filter on selected bridge port. Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> 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 23caf5b..62a7fa2 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -399,7 +399,7 @@ int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
const unsigned char *addr, u16 nlh_flags);
int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
- struct net_device *dev, int idx);
+ struct net_device *dev, struct net_device *fdev, int idx);
int br_fdb_sync_static(struct net_bridge *br, struct net_bridge_port *p);
void br_fdb_unsync_static(struct net_bridge *br, struct net_bridge_port *p);
OpenPOWER on IntegriCloud