13 lines
472 B
Diff
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);
|
|
|