summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-06-01 17:10:11 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2022-06-01 17:10:11 +0200
commitc047b50638fd4bd9c5990ae0abf8195598c1929f (patch)
tree3731f96e7fa97aca7f38689492debfd547094cad /lib/workqueue.c
parentf5b2f86ac0ccaecaed248e8cc80569c3c274e70b (diff)
ospf6d: fix rx/tx buffer sizes
OSPFv3 packets can be fragmented and up to 64k long, regardless of interface MTU. Trying to size these buffers to MTU is just plain wrong. To not make this a super intrusive change during the 8.3 release freeze, just code this into ospf6_iobuf_size(). Since the buffer is now always 64k, don't waste time zeroing the entire thing in receive; instead just zero kind of a "sled" of 128 bytes after the buffer as a security precaution. Fixes: #11298 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions