mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
OSPF is ready for changing MTU.
This commit is contained in:
@@ -599,6 +599,20 @@ sk_alloc_bufs(sock *s)
|
||||
s->tpos = s->ttx = s->tbuf;
|
||||
}
|
||||
|
||||
void
|
||||
sk_reallocate(sock *s)
|
||||
{
|
||||
if(!s) return;
|
||||
|
||||
if (s->rbuf_alloc)
|
||||
xfree(s->rbuf_alloc);
|
||||
s->rbuf = NULL;
|
||||
if (s->tbuf_alloc)
|
||||
xfree(s->tbuf_alloc);
|
||||
s->tbuf = NULL;
|
||||
sk_alloc_bufs(s);
|
||||
}
|
||||
|
||||
static void
|
||||
sk_tcp_connected(sock *s)
|
||||
{
|
||||
|
Reference in New Issue
Block a user