diff options
author | Cong Wang <amwang@redhat.com> | 2013-03-07 04:05:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-07 22:32:19 +0100 |
commit | fbca58a2242ef2b84049365786d501ee512aefcf (patch) | |
tree | 1dc4a5867e92c1bb7bd037aac4cf021bc5a0969f /net/bridge/br_device.c | |
parent | Fix: sparse warning in inet_csk_prepare_forced_close (diff) | |
download | linux-fbca58a2242ef2b84049365786d501ee512aefcf.tar.xz linux-fbca58a2242ef2b84049365786d501ee512aefcf.zip |
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.c | 2 |
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 |