diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-21 13:22:51 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-21 13:22:51 +0100 |
commit | 207a1429366a1e5de9e59658a601274545971deb (patch) | |
tree | 9807dd103eb86ff2442aba4d44c021719aa537f2 /isisd/isis_dlpi.c | |
parent | Merge pull request #5977 from rubenk/treewide-add-noreturn (diff) | |
download | frr-207a1429366a1e5de9e59658a601274545971deb.tar.xz frr-207a1429366a1e5de9e59658a601274545971deb.zip |
isisd: Expand send/receive buffers to allow for larger mtu
User is reporting:
2020/03/21 03:12:36 ISIS: isis_send_pdu_bcast: sock_buff size 8192 is less than output pdu size 9014 on circuit em0
2020/03/21 03:12:36 ISIS: [EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed
MTU's can frequently hit 9k in size, we have buffer limits
that prevent this from being fully used and creating errors.
Modify the code to allow for up to 16k mtu
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_dlpi.c')
-rw-r--r-- | isisd/isis_dlpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_dlpi.c b/isisd/isis_dlpi.c index ea16f4af7..5c15d1d29 100644 --- a/isisd/isis_dlpi.c +++ b/isisd/isis_dlpi.c @@ -62,7 +62,7 @@ static const uint8_t ALL_ISS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x05}; static const uint8_t ALL_ESS[6] = {0x09, 0x00, 0x2B, 0x00, 0x00, 0x04}; #endif -static uint8_t sock_buff[8192]; +static uint8_t sock_buff[16384]; static unsigned short pf_filter[] = { ENF_PUSHWORD + 0, /* Get the SSAP/DSAP values */ |