[Bug 280086] multicast: setsockopt(...IP_DROP_MEMBERSHIP...) doesn't lead to sending IGMP packet after base r349369

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Jul 2024 09:35:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280086

--- Comment #4 from guido@gvr.org ---
I tested the test program on my system (13.3-RELEASE-p3) (tcpdump in backgroud
while the test programs runs). As you can se there is no IGMP traffic after
dropping mebership:

Add membership
11:31:24.963688 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP
(2), length 40, options (RA))
    192.168.1.55 > 224.0.0.22: igmp v3 report, 1 group record(s) [gaddr
239.0.0.5 to_ex, 0 source(s)]
ue0:
        inet 192.168.1.55
        igmpv3 rv 2 qi 125 qri 10 uri 3
                group 239.0.0.5 mode exclude
                        mcast-macaddr 01:00:5e:00:00:05
                group 224.0.0.1 mode exclude
                        mcast-macaddr 01:00:5e:00:00:01
Drop membership
ue0:
        inet 192.168.1.55
        igmpv3 rv 2 qi 125 qri 10 uri 3
                group 224.0.0.1 mode exclude
                        mcast-macaddr 01:00:5e:00:00:01
Add membership
11:31:28.844795 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP
(2), length 40, options (RA))
    192.168.1.55 > 224.0.0.22: igmp v3 report, 1 group record(s) [gaddr
239.0.0.5 to_ex, 0 source(s)]
11:31:29.469683 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP
(2), length 40, options (RA))
    192.168.1.55 > 224.0.0.22: igmp v3 report, 1 group record(s) [gaddr
239.0.0.5 to_ex, 0 source(s)]

-- 
You are receiving this mail because:
You are the assignee for the bug.