diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-01-11 19:36:50 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-14 15:52:09 -0500 |
| commit | 5637da0501faa600273ecd7a2ed39cdbbe4531b1 (patch) | |
| tree | 91c9476f77893d7b9c201ec41c7b761e63a75d96 /lib/command.h | |
| parent | 48f6dc2dae2572864db373ddc556518c2ab2ad85 (diff) | |
pimd: non-null register checksum incorrect
Ticket: CM-12041
Reviewed By: sharpd, CCR-5556
Testing Done: Tested on Local setup generating PIM Register (Data/Null) and processing both Tx/Rx with correct checksum.
Provided quagga debian to submitter and checksum cases passed on submitter setup.
1. PIM Register msg checksum only accounts for 8 bytes (4 bytes for PIM header and next 4 byetes before data payload).
In PIM header checksum calculation checked PIM packet type (in this case REGISTER type) then only pass 8 bytes as length
rather than full packet length.
2. PIM Register Rx path also handled with 8 byte and full pim lenth checksum.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions
