]> git.puffer.fish Git - mirror/frr.git/commit
pimd: reset packet size on tcp connection reset
authoranuradhak <anuradhak@cumulusnetworks.com>
Sat, 3 Dec 2016 00:12:35 +0000 (16:12 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:18 +0000 (20:26 -0500)
commit3e5e42252e269f52dbdbd8c9866cb0c63b5cfcd5
tree92d077bf848edaabdece8cf403b6f64f221f8583
parent489e06bbcfaab04d4589fb316c7f3a9c0197ce16
pimd: reset packet size on tcp connection reset

If we were in the middle of a partial read when the tcp connection is
reset we were clearing the buffers but not the packet size. This can be
problematic when the connection is re-established.

There is no easy way to repro and test this without scale (and a timing
pattern that is hard to predict). So this change is mostly untested.

Ticket: CM-13852
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
pimd/pim_msdp.c