diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-10-29 22:44:45 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-05-06 03:02:55 +0200 |
| commit | b21e7b8fe8c4970f2f6f794cb78bcc93057af94f (patch) | |
| tree | 2c4d487fadd2f7fa201cb0b43509a5961e7f908c /lib/lib_errors.c | |
| parent | 3f79135cc7683f71732cfa24e05e4fe3eaf5df47 (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>
(cherry picked from commit c37119df45bbf4ef713bc10475af2ee06e12f3bf)
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
