Re: [PATCH] ipv6: Support more than 32 MIFS

2020-07-09 Thread David Miller
From: Mark Tomlinson Date: Fri, 10 Jul 2020 11:27:34 +1200 > As background to this patch, we have MAXMIFS set to 1025 in our kernel. This patch is pointless without that adjustment, so it really doesn't belong upstream until you tackle the whole entire problem and therefore make the limit able t

[PATCH] ipv6: Support more than 32 MIFS

2020-07-09 Thread Mark Tomlinson
The function ip6mr_mfc_add() declared an array of ttls. If MAXMIFS is large, this would create a large stack frame. This is fixed, and made more efficient, by passing mf6cc_ifset to ip6mr_update_thresholds(). Signed-off-by: Mark Tomlinson --- As background to this patch, we have MAXMIFS set to 1