diff options
author | Jamal Hadi Salim <jhs@mojatatu.com> | 2014-07-10 15:01:58 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-10 23:37:33 +0400 |
commit | 5d5eacb34c9e1fdc0a47b885d832eaa4de860dc7 (patch) | |
tree | 880d3849c474c2d307928b99d22f9a4354e1387a /drivers/net/vxlan.c | |
parent | 69b4b7a4148e94a3fe7f06f72ee70113a6c61837 (diff) | |
download | linux-5d5eacb34c9e1fdc0a47b885d832eaa4de860dc7.tar.xz |
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 'drivers/net/vxlan.c')
-rw-r--r-- | drivers/net/vxlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index c2d360150804..e6808f7e4e32 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -933,7 +933,8 @@ out: /* Dump forwarding table */ static int vxlan_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb, - struct net_device *dev, int idx) + struct net_device *dev, + struct net_device *filter_dev, int idx) { struct vxlan_dev *vxlan = netdev_priv(dev); unsigned int h; |