OpenBSD cvs log

created 2018-11-30T04:07:55Z
begin 2018-09-10T00:00:00Z
end 2018-09-11T00:00:00Z
path src/sys
commits 17

date 2018-09-10T04:52:23Z
author jmatthew
files src/sys/dev/pci/if_bnxt.c log diff annotate
message bit rates over 2G won't fit in an int, so use uint64_ts instead

date 2018-09-10T04:56:13Z
author jmatthew
files src/sys/dev/pci/if_bnxt.c log diff annotate
message if the adapter can't determine the phy type on a port, pretend it's baseCR
so we get a usable list of media types to pick from.

tested by and ok ccardenas@

date 2018-09-10T04:59:32Z
author jmatthew
files src/sys/dev/pci/if_bnxt.c log diff annotate
message put the port into autonegotiate mode on attach, since that's the default
media setting.

tested by and ok ccardenas@

date 2018-09-10T08:26:39Z
author phessler
files src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message give set_ess a len variable, so we can correctly match the essid we want
to switch to.

pointed out by stsp@

date 2018-09-10T08:27:13Z
author phessler
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
message use the correct essid when switching during the ioctl path

pointed out by stsp@

date 2018-09-10T09:13:53Z
author phessler
files src/sys/net80211/ieee80211_node.c log diff annotate
message extract clearing WEP/WPA in ess into helper functions

date 2018-09-10T10:11:18Z
author phessler
files src/sys/net80211/ieee80211_node.c log diff annotate
message fix typo in the length of the essid we want to switch to

found with and OK stsp@

date 2018-09-10T11:07:43Z
author phessler
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
message do not immediately set the join'd network, the join command only updates
the list.

makes /etc/netstart very fast when ran while the interface is up

OK stsp@

date 2018-09-10T11:37:26Z
author bluhm
files src/sys/net/pf_norm.c log diff annotate
src/sys/net/pfvar.h log diff annotate
message Limit the fragment entry queue length to 64 per bucket. So we have
a global limit of 1024 fragments, but it is fine grained to the
region of the packet. Smaller packets may have less fragments.
This costs another 16 bytes of memory per reassembly and devides
the worst case for searching by 8.
requestd by claudio@; OK sashan@ claudio@

date 2018-09-10T12:47:02Z
author bluhm
files src/sys/kern/uipc_mbuf.c log diff annotate
src/sys/net/pf_norm.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet6/frag6.c log diff annotate
src/sys/sys/mbuf.h log diff annotate
message During fragment reassembly, mbuf chains with packet headers were
created. Add a new function m_removehdr() do convert packet header
mbufs within the chain to regular mbufs. Assert that the mbuf at
the beginning of the chain has a packet header.
found by Maxime Villard in NetBSD; from markus@; OK claudio@

date 2018-09-10T15:54:28Z
author henning
files src/sys/net/pf_syncookies.c log diff annotate
message in pf_syncookie_validate, return early if we don't have syncookies in
flight that can possibly match. there is a tiny but existing chance that
a sequence number matches w/ our hash and we'd end up dropping traffic.
unclear whether that has actually happened since the report chain is long :)
report via haesbert via bluhm; ok bluhm

date 2018-09-10T16:07:20Z
author henning
files src/sys/net/if.c log diff annotate
message if_setrdomain could potentially call if_clone_create recursively in the create
rdomain case leading to locking issues and lots of headscratching. turns out
the only case where if_setrdomain could actually create an rdomain and thus
end up with that pattern is the ioctl path.
make if_setrdomain never create an rdomain, return error if it doesn't exist
already, introduce if_createrdomain, and adjust the ioctl path to use it.
ok sashan bluhm claudio

date 2018-09-10T16:14:07Z
author bluhm
files src/sys/kern/uipc_mbuf.c log diff annotate
src/sys/net/pf_norm.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
message Instead of calculating the mbuf packet header length here and there,
put the algorithm into a new function m_calchdrlen(). Also set an
uninitialized m_len to 0 in NFS code.
OK claudio@

date 2018-09-10T16:14:08Z
author bluhm
files src/sys/netinet6/frag6.c log diff annotate
src/sys/nfs/krpc_subr.c log diff annotate
src/sys/nfs/nfs_socket.c log diff annotate
src/sys/sys/mbuf.h log diff annotate
message Instead of calculating the mbuf packet header length here and there,
put the algorithm into a new function m_calchdrlen(). Also set an
uninitialized m_len to 0 in NFS code.
OK claudio@

date 2018-09-10T16:18:34Z
author sashan
files src/sys/kern/init_main.c log diff annotate
src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/sys/device.h log diff annotate
message - if_cloners list populated at boot time only then becomes immutable,
so we can let go if_cloners_lock.

OK tb@, claudio@, bluhm@, kn@, henning@

date 2018-09-10T17:00:45Z
author gerhard
files src/sys/dev/usb/if_umb.c log diff annotate
message Prevent a panic in umb(4) when roaming is diabled.

Found by beck@, tested and ok by bluhm@

date 2018-09-10T22:21:39Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
message Remove useless INPCBHASH() macros. Just expand them.
OK stsp@