]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_attr.h
bgpd: Treat empty reachable NLRI as a EOR
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 Oct 2017 03:07:21 +0000 (23:07 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 Oct 2017 11:31:17 +0000 (07:31 -0400)
commit9b9df9892d3cea25e53cd8903b3c41fb318d2f04
tree96d4c6b436fb9f73afa812472cd39718135e8bf3
parent6d774763d6698bf36b98e2ff26c1f27a492b8cb3
bgpd: Treat empty reachable NLRI as a EOR

This issue was discovered on a live session with an extremely
old cisco 7206VXR router running 12.2(33)SRE4.  The sending router
is sending us an empty NLRI that is MP_REACH.  From RFC
exploration(thanks Russ!) it appears that this was
considered a 'valid' way to send EOR.

Following discussion decided that we should treat
this situation as a EOR marker instead of bringing
down the session.

Applying this fix on the FRR router seeing this issue
allows it to continue it's peering relationship with
the ASR.  Since this is a point fix I do not see
a high likelihood of further fallout.

Fixes: #1258
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_packet.c