OpenBSD cvs log

created 2019-05-08T05:46:31Z
begin 2018-02-01T00:00:00Z
end 2018-02-02T00:00:00Z
path src/sys
commits 6

date 2018-02-01T07:41:33Z
author deraadt
files src/sys/arch/arm64/dev/bcm2836_intr.c log diff annotate
message handle ramdisk not containing ddb, so that builds can proceed

date 2018-02-01T11:21:34Z
author stsp
files src/sys/dev/pci/if_iwn.c log diff annotate
message Make sure iwn(4) firmware and driver stay in sync when a scan is
requested by ifconfig while associated. For completeness, do the same
for RUN->{ASSOC,AUTH} and AUTH->ASSOC transitions. i.e. always keep
the firmware's association state in sync with the driver's state.
The firmware should only be associated in RUN state.

Fixes a problem where the driver remained in SCAN state forever after
running 'ifconfig iwn0 scan' in associated (i.e. RUN) state, presumably
because the firmware didn't like the driver's scan command and never
signaled completion of the scan.

ok kevlo@ phessler@

date 2018-02-01T12:10:27Z
author dlg
files src/sys/net/bpf.c log diff annotate
src/sys/net/bpf.h log diff annotate
message add bpf_tap_hdr(), for handling a buffer (not an mbuf) with a header.

internally it uses mbufs to handle the chain of buffers, but the
caller doesnt have to deal with that or allocate a temporary buffer
with the header attached.

ok mpi@

date 2018-02-01T21:06:31Z
author bluhm
files src/sys/netinet/ip_ah.c log diff annotate
message When processing IPsec AH packets with IP options or IPv6 extension
headers, check all lengths before accessing the values.
found by Maxime Villard; from NetBSD; with and OK markus@; OK patrick@

date 2018-02-01T21:11:33Z
author bluhm
files src/sys/netinet6/frag6.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
src/sys/netinet6/raw_ip6.c log diff annotate
message The function ip6_get_prevhdr() did return a pointer into a mbuf.
It was not guaranteed that the mbuf data was not somewhere else in
the chain. So return an offset and do a proper mbuf pulldown.
found by Maxime Villard; from NetBSD; with markus@; OK deraadt@

date 2018-02-01T21:18:12Z
author bluhm
files src/sys/net/if_etherip.c log diff annotate
message Done means to stop processing the protocol loop, but IP proto none
is protocol 58. Fix typo in ip6_etherip_input() to properly discard
EtherIP tunnel IPv6 packets if the feature is disabled.
found by Maxime Villard; with markus@; OK patrick@ deraadt@ millert@ jca@