1
1
Files
zyxel-vmg8825_b50b-cfw/target/linux/generic/patches-3.3/660-net-support-igmp-max-memberships-unresolved-mfc.patch
T
2026-04-17 18:33:03 +02:00

13 lines
472 B
Diff

diff -uNr a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
--- a/net/ipv4/ipmr.c 2012-06-01 15:16:13.000000000 +0800
+++ b/net/ipv4/ipmr.c 2013-04-28 10:52:05.000000000 +0800
@@ -982,7 +982,7 @@
if (!found) {
/* Create a new entry if allowable */
- if (atomic_read(&mrt->cache_resolve_queue_len) >= 10 ||
+ if (atomic_read(&mrt->cache_resolve_queue_len) >= sysctl_igmp_max_memberships ||
(c = ipmr_cache_alloc_unres()) == NULL) {
spin_unlock_bh(&mfc_unres_lock);