]> git.puffer.fish Git - mirror/frr.git/commit
isisd: support circuits with mtu > 8192 4371/head
authorEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 20 May 2019 16:03:52 +0000 (18:03 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Thu, 23 May 2019 13:50:31 +0000 (15:50 +0200)
commit32fed393f45c4e09556252fc896e07137d68ba3a
treeec7215167bb5483f807d57458a0990152cbdc36c
parent528628cb2ea4f5a522bf1f6d5b702bb188c4e30e
isisd: support circuits with mtu > 8192

the buffer to read from the socket when processing an incoming
packet was hardcoded to be of size 8192. If the mtu of the
interface is greater than that and hello padding is enabled
on that circuit, the hello message will be truncated, and this
will cause the adjacency establishment to fail. fix this by
using a large enough stack buffer instead

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