aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-15 14:17:19 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-15 14:36:47 +0200
commitad76366d7ddfe83a0ca2f28d4104697e81c3c3cd (patch)
treec1d0b56549d9630867fc2692e9279965d35c64cf /target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
parentbe7415810281b9ababe5fcec34236a0536af5939 (diff)
downloadupstream-ad76366d7ddfe83a0ca2f28d4104697e81c3c3cd.tar.gz
upstream-ad76366d7ddfe83a0ca2f28d4104697e81c3c3cd.tar.bz2
upstream-ad76366d7ddfe83a0ca2f28d4104697e81c3c3cd.zip
kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch')
-rw-r--r--target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch b/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
index bab091262c..a6e974c5ad 100644
--- a/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
+++ b/target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
@@ -382,8 +382,6 @@ Implement optinal multicast->unicast conversion for igmp snooping
- port = (unsigned long)lport > (unsigned long)rport ?
- lport : rport;
--
-- prev = maybe_deliver(prev, port, skb, __packet_hook);
+ if ((unsigned long)lport > (unsigned long)rport) {
+ port = lport;
+ addr = p->unicast ? p->eth_addr : NULL;
@@ -391,7 +389,8 @@ Implement optinal multicast->unicast conversion for igmp snooping
+ port = rport;
+ addr = NULL;
+ }
-+
+
+- prev = maybe_deliver(prev, port, skb, __packet_hook);
+ if (addr)
+ prev = maybe_deliver_addr(prev, port, skb, addr,
+ __packet_hook);