summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-10-29 22:44:45 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-11-21 09:39:39 -0500
commita0c4ec2f52b299d45a77b0fcb29452329d22dce1 (patch)
tree414c4bbbf17cc563bf35fbd61e884d51e0d5f823 /zebra/zebra_rib.c
parent01f232c227e566fec924472eb61cd6489a6e1d2b (diff)
bgpd: Ignore handling NLRIs if we received MP_UNREACH_NLRI
If we receive MP_UNREACH_NLRI, we should stop handling remaining NLRIs if no mandatory path attributes received. In other words, if MP_UNREACH_NLRI received, the remaining NLRIs should be handled as a new data, but without mandatory attributes, it's a malformed packet. In normal case, this MUST not happen at all, but to avoid crashing bgpd, we MUST handle that. Reported-by: Iggy Frankovic <iggyfran@amazon.com> Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_rib.c')
0 files changed, 0 insertions, 0 deletions