OpenBSD cvs log

created 2021-01-16T23:20:46Z
begin 2021-01-11T00:00:00Z
end 2021-01-12T00:00:00Z
path src/sys
commits 8

date 2021-01-11T13:28:53Z
author bluhm
files src/sys/netinet/icmp6.h log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
message Create a path MTU host route for IPsec over IPv6. Basically the
code is copied from IPv4 and adapted. Some things are changed in
v4 to make it look similar.
- ip6_forward increases the noroute error counter, do that in
ip_forward, too.
- Pass more specific sockaddr_in6 to icmp6_mtudisc_clone().
- IPv6 may also use reject routes for IPsec PMTU clones.
- To pass a route_in6 to ip6_output_ipsec_send() introduce one in
ip6_forward(). That is the same what IPv4 does. Note
that dst and sin6 switch roles.
- Copy comments from ip_output_ipsec_send() to ip6_output_ipsec_send()
to make code similar.
- Implement dynamic IPv6 IPsec PMTU routes.
OK tobhe@

date 2021-01-11T13:28:54Z
author bluhm
files src/sys/netinet6/ip6_forward.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
src/sys/netinet6/ip6_var.h log diff annotate
message Create a path MTU host route for IPsec over IPv6. Basically the
code is copied from IPv4 and adapted. Some things are changed in
v4 to make it look similar.
- ip6_forward increases the noroute error counter, do that in
ip_forward, too.
- Pass more specific sockaddr_in6 to icmp6_mtudisc_clone().
- IPv6 may also use reject routes for IPsec PMTU clones.
- To pass a route_in6 to ip6_output_ipsec_send() introduce one in
ip6_forward(). That is the same what IPv4 does. Note
that dst and sin6 switch roles.
- Copy comments from ip_output_ipsec_send() to ip6_output_ipsec_send()
to make code similar.
- Implement dynamic IPv6 IPsec PMTU routes.
OK tobhe@

date 2021-01-11T13:55:53Z
author claudio
files src/sys/kern/kern_synch.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Simplify sleep signal handling a bit by introducing sleep_signal_check().
The common code is moved to sleep_signal_check() and instead of multiple
state variables for sls_sig and sls_unwind only one sls_sigerr is set.
This simplifies the checks in sleep_finish_signal() a great bit.
Idea from and OK mpi@

date 2021-01-11T14:41:12Z
author mglocker
files src/sys/dev/usb/ehci.c log diff annotate
message When an endpoint stalls, we usually try to reset it by calling
usbd_clear_endpoint_stall(), which in turn will call
usbd_clear_endpoint_toggle(). It can be a common situation that when
this happens, there is still a transfer in the stalled queue being
in progress. The ehci(4) clear toggle function is currently doing a
panic() in the diagnostic code in this situation, which is a bit of
an overkill. The device still can be recovered by detaching/attaching
it. Therefore change the panic() in to a printf().

ok mpi@

date 2021-01-11T16:45:25Z
author kettenis
files src/sys/arch/hppa/hppa/locore.S log diff annotate
message Clear CR 26 before returning to userland to avoid potentioal info leak.

ok miod@, deraadt@

date 2021-01-11T18:49:38Z
author mpi
files src/sys/kern/init_main.c log diff annotate
src/sys/kern/kern_rwlock.c log diff annotate
src/sys/sys/rwlock.h log diff annotate
message New rw_obj_init() API providing reference-counted rwlock.

Original port from NetBSD by guenther@, required for upcoming amap & anon
locking.

ok kettenis@

date 2021-01-11T18:51:09Z
author mpi
files src/sys/uvm/uvm_aobj.c log diff annotate
message Assert that the KERNEL_LOCK() is held in uao_set_swslot().

ok kettenis@

date 2021-01-11T21:50:56Z
author kn
files src/sys/net/if_pflog.c log diff annotate
message Remove unused start routine

pflog(4) does not send or generate packets by design.

OK mvs sashan