summaryrefslogtreecommitdiffstats
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-05-12 21:04:50 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-12 21:04:50 +0200
commitfad8bdfa40df8636a52d770bbab010086c1976ec (patch)
tree24e7540b919d1d0759ce0d39766c3833061dd145 /target/linux/generic/patches-4.4/645-bridge_multicast_to_unicast.patch
parent26c137621f2262e445905969c414f70d0466793b (diff)
downloadmaster-31e0f0ae-fad8bdfa40df8636a52d770bbab010086c1976ec.tar.gz
master-31e0f0ae-fad8bdfa40df8636a52d770bbab010086c1976ec.tar.bz2
master-31e0f0ae-fad8bdfa40df8636a52d770bbab010086c1976ec.zip
kernel: backport patches improving fq_codel drop behavior
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 f729f38f11..7232b93de5 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);