aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/bridge/br_device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index 4cec8051164d..f49bcd9d9113 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -48,8 +48,10 @@ netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
48 48
49 rcu_read_lock(); 49 rcu_read_lock();
50 if (is_multicast_ether_addr(dest)) { 50 if (is_multicast_ether_addr(dest)) {
51 if (br_multicast_rcv(br, NULL, skb)) 51 if (br_multicast_rcv(br, NULL, skb)) {
52 kfree_skb(skb);
52 goto out; 53 goto out;
54 }
53 55
54 mdst = br_mdb_get(br, skb); 56 mdst = br_mdb_get(br, skb);
55 if (mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) 57 if (mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb))