]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix bgp-lu update bug
authorEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 2 Jul 2019 16:59:00 +0000 (18:59 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 2 Jul 2019 16:59:00 +0000 (18:59 +0200)
commit4195afbf08eb5f59469b8875df759ffd4226b393
tree37f802e6e7cf88c69836c7c63d0fc9354cde20ce
parente846ec980612d32993b70c2bd47fa51e54bb6547
bgpd: fix bgp-lu update bug

bgp update messages were not correctly calculating the size
for a labeled-unicast prefix, as they were not accounting
for the label. If the update message was large enough to
overflow the maximum packet size (4096 bytes) this could
cause bgpd to send a malformed update packet.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
bgpd/bgp_attr.c