OpenBSD cvs log

created 2018-12-02T20:08:43Z
begin 2018-10-18T00:00:00Z
end 2018-10-19T00:00:00Z
path src/sys
commits 8

date 2018-10-18T01:36:26Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message Process incoming gre(4) keepalives early to avoid bpf seeing them.

The packet processing done after the protocol detection effectively
gets thrown away by the keepalive handling, so this saves some time,
and avoids confusing tcpdump on the interface. Keepalives the driver
transmits aren't made available for bpf, so taking it away from the
receive side is consistent.

discussed with and tested by markus@

date 2018-10-18T01:43:50Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message move the timeout_add in gre_keepalive_send up.

gre_keepalive_send() should re-schedule immediately, otherwise we
stop sending keepalive on temporary mbuf shortage or if the
configuration is incomplete.

from markus@

date 2018-10-18T01:46:21Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message make sure the tunnel is configured in gre_keepalive_send

check sc_tunnel.t_af for AF_UNSPEC, otherwise we panic in gre_encap()

from markus@

date 2018-10-18T01:58:15Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message make sure keepalive ioctl values are either both zero, or both not zero.

date 2018-10-18T02:10:54Z
author lteo
files src/sys/conf/GENERIC log diff annotate
message Re-enable POOL_DEBUG for -current.

ok deraadt@

date 2018-10-18T03:01:18Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message provide a default case for all switch statements handling address families

from markus@

date 2018-10-18T15:23:04Z
author cheloha
files src/sys/netinet/igmp.c log diff annotate
src/sys/netinet/in_var.h log diff annotate
message igmp, struct router_info: use queue(3)

In particular, use LIST_* to preserve O(n) removal in rti_delete().

While here, clean up two malloc(9) calls.

Suggested by mpi@.

ok visa@

date 2018-10-18T15:46:28Z
author cheloha
files src/sys/netinet/igmp.c log diff annotate
message Partial revert of previous. Only the queue(3) stuff should have gone in.