OpenBSD cvs log

created 2021-08-01T04:14:03Z
begin 2021-07-26T00:00:00Z
end 2021-07-27T00:00:00Z
path src/sys
commits 12

date 2021-07-26T05:51:13Z
author mpi
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/kern/uipc_socket2.c log diff annotate
src/sys/sys/socketvar.h log diff annotate
message Pass a socket pointer to various socket buffer routines in preparation for
per-socket locking.

No functional change.

date 2021-07-26T06:00:37Z
author asou
files src/sys/dev/pv/hypervic.c log diff annotate
message Add mtx_enter/mtx_leave in kvp_pool_keys().

ok mikeb

date 2021-07-26T06:24:22Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
message retry i2c transfers on -EAGAIN up to the number of times specified in
struct i2c_adapter

inteldrm gmbus returns -EAGAIN to fallback to gpio bitbanging

date 2021-07-26T11:06:36Z
author jsg
files src/sys/dev/pv/if_xnf.c log diff annotate
message fix an mbuf leak with m_len 0 mbufs

from niklas@ via mikeb@

date 2021-07-26T14:15:40Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
message Fix accounting of the number of frames queued on an iwx(4) Tx ring.

Stop decrementing ring->queued inside the if-statement which guards
maintenance of the OACTIVE flag. This is wrong and resulted in a negative
counter value (visible in firmware error traces). The counter is already
decremented in the loop above where frames are taken off the ring.

date 2021-07-26T16:47:52Z
author kettenis
files src/sys/arch/arm64/dev/aplpcie.c log diff annotate
message Adjust driver for device tree binding changes.

date 2021-07-26T20:44:44Z
author bluhm
files src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
message The mbuf header cleanup in revision 1.173 of ip_icmp.c was too
strict. ICMP error packets generated by pf were not passed
immediately, but could be blocked. Preserve PF_TAG_GENERATED flag
in icmp_reflect() and icmp6_reflect().
reported by sf@; OK patrick@ kn@

date 2021-07-26T21:27:56Z
author bluhm
files src/sys/crypto/crypto.c log diff annotate
src/sys/crypto/cryptodev.h log diff annotate
src/sys/netinet/ip_ah.c log diff annotate
message Do not queue crypto operations for IPsec. The packet entries in
task queues were unlimited and could overflow during havy traffic.
Even if we still use hardware drivers that sleep, softnet task
instead of soft interrupt can handle this now. Without queues net
lock is inherited and kernel lock is only needed once per packet.
This results in less lock contention and faster IPsec.
Also protect tdb drop counters with net lock and avoid a leak in
crypto dispatch error handling.
intense testing Hrvoje Popovski; OK mpi@

date 2021-07-26T21:27:57Z
author bluhm
files src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_ipcomp.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
src/sys/netinet/ipsec_output.c log diff annotate
message Do not queue crypto operations for IPsec. The packet entries in
task queues were unlimited and could overflow during havy traffic.
Even if we still use hardware drivers that sleep, softnet task
instead of soft interrupt can handle this now. Without queues net
lock is inherited and kernel lock is only needed once per packet.
This results in less lock contention and faster IPsec.
Also protect tdb drop counters with net lock and avoid a leak in
crypto dispatch error handling.
intense testing Hrvoje Popovski; OK mpi@

date 2021-07-26T22:13:19Z
author kettenis
files src/sys/arch/riscv64/riscv64/trap.c log diff annotate
message Print a few more registers in dump_regs().

date 2021-07-26T23:17:06Z
author mvs
files src/sys/net/pfkeyv2_convert.c log diff annotate
src/sys/netinet/ip_ah.c log diff annotate
src/sys/netinet/ip_esp.c log diff annotate
src/sys/netinet/ip_ipcomp.c log diff annotate
src/sys/netinet/ip_ipsp.c log diff annotate
message Use per-CPU counters for tunnel descriptor block (tdb) statistics.
'tdb_data' struct became unused and was removed.

ok bluhm@

date 2021-07-26T23:17:07Z
author mvs
files src/sys/netinet/ip_ipsp.h log diff annotate
src/sys/netinet/ip_output.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
src/sys/netinet/ipsec_output.c log diff annotate
src/sys/netinet6/ip6_output.c log diff annotate
message Use per-CPU counters for tunnel descriptor block (tdb) statistics.
'tdb_data' struct became unused and was removed.

ok bluhm@