diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-10-29 22:44:45 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-22 12:38:09 +0000 |
| commit | c25bdf085532f6ca636a927a8fe4352bd570df9d (patch) | |
| tree | 31fb4b819a678c9ab21195c9e13987c3819f4485 /lib/srv6.c | |
| parent | fc87cdbf07c1afa9ae6a32f3570501f4cb990ae3 (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/srv6.c')
0 files changed, 0 insertions, 0 deletions
