diff options
| author | Mobashshera Rasool <mrasool@vmware.com> | 2022-01-12 20:39:48 -0800 |
|---|---|---|
| committer | Mobashshera Rasool <mrasool@vmware.com> | 2022-01-13 00:20:39 -0800 |
| commit | 3b93886add3b28acec698da8a50cf8c87eb16e4e (patch) | |
| tree | ca6848038c6444e59965688498b6d35d685b5724 /lib/lib_errors.c | |
| parent | 83fc30745dacdfcb8f7e3d9848500aa0a0de57ea (diff) | |
pimd: IGMPv2 report msg may be longer than 8 octets
As per test case IGMP Conformance test case 5.6, report
messages longer than 8 octets should be accepted to support
future-backward compatibilty.
Fix the code as per RFC 2236 section 2.5:
Note that IGMP messages may be longer than 8 octets, especially
future backwards-compatible versions of IGMP. As long as the Type is
one that is recognized, an IGMPv2 implementation MUST ignore anything
past the first 8 octets while processing the packet. However, the
IGMP checksum is always computed over the whole IP payload, not just
over the first 8 octets.
Fixes: #10331
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
