From: David S. Miller Date: Mon, 16 Jul 2018 18:20:07 +0000 (-0700) Subject: Merge branch 'multicast-init-as-INCLUDE-when-join-SSM-INCLUDE-group' X-Git-Tag: Ubuntu-5.13.0-19.19~10597^2~37 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8e05fd839ddf15dca8500f6f581766d4982c135e;p=mirror_ubuntu-jammy-kernel.git Merge branch 'multicast-init-as-INCLUDE-when-join-SSM-INCLUDE-group' Hangbin Liu says: ==================== multicast: init as INCLUDE when join SSM INCLUDE group Based on RFC3376 5.1 and RFC3810 6.1, we should init as INCLUDE when join SSM INCLUDE group. In my first version I only clear the group change record. But this is not enough as when a new group join, it will init as EXCLUDE and trigger an filter mode change in ip/ip6_mc_add_src(), which will clear all source addresses' sf_crcount. This will prevent early joined address sending state change records if multi source addresses joined at the same time. In this v2 patchset, I fixed it by directly initializing the mode to INCLUDE for SSM JOIN_SOURCE_GROUP. I also split the original patch into two separated patches for IPv4 and IPv6. Test: test by myself and customer. ==================== Signed-off-by: David S. Miller --- 8e05fd839ddf15dca8500f6f581766d4982c135e