]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Do not allow SRv6 func_bit_len > 20 11673/head
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Thu, 6 Oct 2022 15:26:57 +0000 (17:26 +0200)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Tue, 18 Oct 2022 14:08:24 +0000 (16:08 +0200)
commit537b8b13f9a56c15e34f226365805b9cbbea8f2a
treed1ba4ddabeffb42edc4984c51fc107ed3f500f04
parent34e3711fb49212bc643a238d8a1e285a2fd5980d
zebra: Do not allow SRv6 func_bit_len > 20

Currently, the SID transposition algorithm implemented in bgpd handles
incorrectly the SRv6 locators with function length greater than 20 bits.
To prevent issues, we currently limit the function length to 20 bits.

This limit will be removed when the bgpd SID transposition is fixed.

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
zebra/zebra_srv6_vty.c