diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-07-12 11:31:45 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-07-12 11:37:19 -0400 |
| commit | 5b1207f72c67b65a60959945bb4250409bb8460f (patch) | |
| tree | 323da596a8f983ec73e1e93931746099c1d88e92 /pimd/pim_igmp.h | |
| parent | 2560106c04574349022c0876550ca37b78726265 (diff) | |
pimd: Stale IGMP groups left behind
When a toin IGMPv3 join is received, the code
was always auto creating the igmp group associated
with the received packet. The RFC clearly states
though that if a INCLUDE is received for a group
with 0 sources and we have received nothing the
igmpv3 packet should be ignored.
Ticket: CM-11260
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_igmp.h')
| -rw-r--r-- | pimd/pim_igmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_igmp.h b/pimd/pim_igmp.h index ab396159e3..c6685c2837 100644 --- a/pimd/pim_igmp.h +++ b/pimd/pim_igmp.h @@ -162,6 +162,8 @@ struct igmp_group { int64_t last_igmp_v2_report_dsec; }; +struct igmp_group *find_group_by_addr (struct igmp_sock *igmp, + struct in_addr group_addr); struct igmp_group *igmp_add_group_by_addr(struct igmp_sock *igmp, struct in_addr group_addr); |
