summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_device.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-03-07 03:05:33 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-07 16:32:19 -0500
commitfbca58a2242ef2b84049365786d501ee512aefcf (patch)
tree1dc4a5867e92c1bb7bd037aac4cf021bc5a0969f /net/bridge/br_device.c
parentc10cb5fc0fc9fa605e01f715118bde5ba5a98616 (diff)
downloadlinux-fbca58a2242ef2b84049365786d501ee512aefcf.tar.bz2
bridge: add missing vid to br_mdb_get()
Obviously, vid should be considered when searching for multicast group. Cc: Vlad Yasevich <vyasevic@redhat.com> Cc: Stephen Hemminger <stephen@networkplumber.org> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Acked-by: Vlad Yasevich <vyasevich@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r--net/bridge/br_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index d5f1d3fd4b28..314c73ed418f 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -66,7 +66,7 @@ netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
goto out;
}
- mdst = br_mdb_get(br, skb);
+ mdst = br_mdb_get(br, skb, vid);
if (mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb))
br_multicast_deliver(mdst, skb);
else