Nothing in udp.c call buffer_init. This might result in start padding
underflows (assertion failures) if packets come in via routes that
don't strip (much) off the front and then go out via routes that do
add lots at the front.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fromlen=sizeof(from);
BUF_ASSERT_FREE(st->rbuf);
BUF_ALLOC(st->rbuf,"udp_afterpoll");
+ buffer_init(st->rbuf,calculate_max_start_pad());
rv=recvfrom(st->fd, st->rbuf->start, st->rbuf->len, 0,
(struct sockaddr *)&from, &fromlen);
if (rv>0) {