OpenBSD cvs log

created 2020-08-02T08:11:42Z
begin 2020-07-28T00:00:00Z
end 2020-07-29T00:00:00Z
path src/sys
commits 14

date 2020-07-28T07:37:05Z
author kn
files src/sys/net/if_switch.c log diff annotate
message Return total size if SIOCBRDGIFS passes in ifbic_len set to zero

In accordance to bridge(4) which behaves correctly as per the manual.

OK dlg

date 2020-07-28T07:41:19Z
author kn
files src/sys/net/if_tpmr.c log diff annotate
message Implement SIOCBRDGIFS, provide SIOCBRDGGRL stub

Required for ifconfig(8) to print tpmr(4) members in bridge fashion.

When copying out members, merely fill in the interface names and set
IFBIF_SPAN such that ifconfig rightfully assumes no member does STP.

As with switch(4), there are no rules but ifconfig requires an ioctl stub.

Feedback OK dlg

date 2020-07-28T09:22:37Z
author bluhm
files src/sys/netinet/ip_carp.c log diff annotate
message After the previous commit, src/regress/sys/netinet/carp triggered
an uvm fault. Check that ifp0 is not NULL.
OK sashan@ mvs@

date 2020-07-28T09:52:32Z
author mvs
files src/sys/net/if_pppoe.c log diff annotate
src/sys/net/if_switch.c log diff annotate
src/sys/net/if_trunk.c log diff annotate
src/sys/net/if_vether.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
message Add missing `IFXF_CLONED' flag to clone interfaces.

ok mpi@

date 2020-07-28T09:53:36Z
author mvs
files src/sys/net/if_pppx.c log diff annotate
message Document locks which protect ppp{ac,x}(4) global data structures.

ok mpi@

date 2020-07-28T11:16:32Z
author kn
files src/sys/net/route.c log diff annotate
message Add size to free(9) calls

Those are for the gateway sockaddrs which get allocated in rt_setgate()
with the same ROUNDUP(sa_len) approach.

mpi already added a sizes for a few rt_gateway sockaddrs in two commits,
these are the last one in route.c leaving only ifafree() behind.

OK mpi

date 2020-07-28T12:53:20Z
author mvs
files src/sys/net/pipex.c log diff annotate
message Document locks which protect pipex(4) global data structures.

ok mpi@

date 2020-07-28T15:58:45Z
author mglocker
files src/sys/dev/usb/xhci.c log diff annotate
message Fix a problem related to isochronous transfers appearing in certain
constellations resulting in bogus frame sizes being returned by xhci(4).
E.g. for uvideo(4) devices erroneous video streams were reported.

The problem occurs when multi-trb TDs are queued and being processed
as a zero-length or short transfer. Those cases were not handled in
the current isochronous code path, which this patch is adding.

Feedback and testing done by many on tech@. Thanks!

ok mpi@

date 2020-07-28T16:44:34Z
author yasuoka
files src/sys/netinet/ip_carp.c log diff annotate
message Don't treat an error if carppeer is an unicast and the peer is down.

ok kn

date 2020-07-28T16:47:41Z
author yasuoka
files src/sys/net/pf_lb.c log diff annotate
src/sys/net/pf_table.c log diff annotate
message Use the table on root always if current table is not active.

ok sashan

date 2020-07-28T16:47:42Z
author yasuoka
files src/sys/net/pfvar.h log diff annotate
message Use the table on root always if current table is not active.

ok sashan

date 2020-07-28T17:54:15Z
author florian
files src/sys/netinet6/in6.c log diff annotate
message Rewrite IPv6 source address selection in terms of the 8 rules given in
RFC 6724 section 5.
This simplifies the code considerably while extensive testing shows no
change in behaviour. It is time to volunteer some more testers.
OK denis@ some time ago.

date 2020-07-28T21:33:14Z
author krw
files src/sys/dev/ic/aic79xx_openbsd.c log diff annotate
src/sys/dev/ic/aic79xx_openbsd.h log diff annotate
src/sys/dev/ic/aic7xxx_openbsd.c log diff annotate
src/sys/dev/ic/aic7xxx_openbsd.h log diff annotate
message SC_DEBUG() and friends are for debugging the SCSI code, not for scattered random
uses in drivers.

Use AHD_DEBUG/AHC_DEBUG sections like all the other debug output does. Don't
#include scsi_debug.h.

date 2020-07-28T22:26:32Z
author krw
files src/sys/dev/ic/cac.c log diff annotate
message SC_DEBUG() and friends are for debugging the SCSI code, not for scattered random
uses in drivers.

Use a CAC_DEBUG sections like the other debug output does.