1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
ZyXEL_PMG5617GA/target/linux/generic/patches-3.3/660-net-support-igmp-max-memberships-unresolved-mfc.patch
2022-11-27 10:16:14 +00: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);