]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Set 4096 instead of 65535 as new max packet size for a new peer 8998/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 2 Jul 2021 13:50:39 +0000 (16:50 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 7 Jul 2021 20:29:47 +0000 (23:29 +0300)
commit5b6c919ff3f82f0d81ed78b87ce2315cacb6bf87
tree89e11d5178a5ebf2cb21b2036ef5bd11aeafb00b
parent8b18cdd398cf01fc621a9a7eb6ca85d4d88a3f91
bgpd: Set 4096 instead of 65535 as new max packet size for a new peer

New peers should be initialized with a usual max packet size and later
determined on OPEN messages.

Testing with different peers supporting/not supporting extended support.

2021/07/02 13:48:00 BGP: [WEV7K-2GAQ5] u2:s2 send UPDATE len 8991 (max message len: 65535) numpfx 1788
2021/07/02 13:48:03 BGP: [WEV7K-2GAQ5] u3:s3 send UPDATE len 4096 (max message len: 4096) numpfx 809
2021/07/02 13:48:03 BGP: [WEV7K-2GAQ5] u3:s3 send UPDATE len 4096 (max message len: 4096) numpfx 809

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_fsm.c
bgpd/bgpd.c