OpenBSD cvs log

created 2020-08-23T08:02:42Z
begin 2020-08-21T00:00:00Z
end 2020-08-22T00:00:00Z
path src/sys
commits 5

date 2020-08-21T01:17:33Z
author kn
files src/sys/net/if_pppoe.c log diff annotate
message Add sizes to free(9) calls

There are either length variables tracking the allocated buffer or strings
allocated by their length, reuse the same idiom each time when freeing.

Reminder from Peter J. Philipp to account for NUL bytes in strings as well
OK mvs

date 2020-08-21T04:47:52Z
author jmatthew
files src/sys/dev/pci/if_mcx.c log diff annotate
message Add kstats reporting the software and hardware producer and consumer
counters for send, receive, completion and event queues, as well as
the queue states. There are still some bugs in queue handling that
we're trying to track down and these should help. No change in object
size without kstat enabled.

ok dlg@

date 2020-08-21T13:42:02Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message Use u_long for generation of VSIDs.

date 2020-08-21T17:42:45Z
author mglocker
files src/sys/dev/usb/ubcmtp.c log diff annotate
message ubcmtp(4) doesn't attach to uhidev(4) but to uhub(4).

ok jcs@

date 2020-08-21T22:59:27Z
author kn
files src/sys/net/if_aggr.c log diff annotate
src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_etherip.c log diff annotate
src/sys/net/if_gif.c log diff annotate
src/sys/net/if_gre.c log diff annotate
src/sys/net/if_mpe.c log diff annotate
src/sys/net/if_mpip.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/if_pair.c log diff annotate
src/sys/net/if_pflog.c log diff annotate
src/sys/net/if_pflow.c log diff annotate
src/sys/net/if_pfsync.c log diff annotate
src/sys/net/if_ppp.c log diff annotate
src/sys/net/if_pppoe.c log diff annotate
src/sys/net/if_tpmr.c log diff annotate
src/sys/net/if_tun.c log diff annotate
src/sys/net/if_vether.c log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/net/if_wg.c log diff annotate
message Leave default ifq_maxlen handling to ifq_init()

Most clonable interface drivers (except bridge, enc, loop, pppx,
switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN
during *_clone_create() even though ifq_init(), which is eventually called
through if_attach(), does the same.

Remove all early "ifq_set_maxlen(&ifq->if_snd, IFQ_MAXLEN);" lines to leave
it to ifq_init() and have clonable drivers a tad more in sync.

OK mvs