OpenBSD cvs log

created 2019-05-08T04:10:56Z
begin 2017-12-21T00:00:00Z
end 2017-12-22T00:00:00Z
path src/sys
commits 8

date 2017-12-21T01:11:47Z
author dlg
files src/sys/net/if.h log diff annotate
message prototype if_attach_iqueues so drivers can configure multiple iqs.

date 2017-12-21T01:55:44Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message now that we have multiple input queues in ifnet structs, use them.

for now we still only have one set of tx and rx rings, but sets us up to
bump that number.

date 2017-12-21T03:58:27Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message add some ifq and ifiq barriers in ixl_down.

move rxfill in ixl_up so the qtail is only written once.

date 2017-12-21T03:59:32Z
author dlg
files src/sys/net/ifq.h log diff annotate
message drivers might want to call ifiq_barrier.

date 2017-12-21T06:55:22Z
author deraadt
files src/sys/dev/softraid.c log diff annotate
message Do not use %hx for chars, ok kettenis

date 2017-12-21T07:29:15Z
author tb
files src/sys/dev/softraid.c log diff annotate
message Two width specifiers changed from %02 to %0 in previous. Change them back.

ok deraadt

date 2017-12-21T12:09:38Z
author mpi
files src/sys/net80211/ieee80211_pae_output.c log diff annotate
message Call if_start() directly to send the EAPOL key.

Using if_enqueue() here, from interrupt context, might result in
the packet beeing enqueued, incorrectly encrypted, on the TX ring.

This race has been recently exposed by the re-introduction of the
TX mitigation. It exists because the net80211 stack sets
IEEE80211_NODE_TXPROT on the node while processing the 3rd message,
assuming the answer has already been transmitted. However a CPU
returns from if_enqueue() it cannot assume that the send queue is
empty. So call if_start() to flush this queue.

Encrypting the 4th message of the 4way handshake with the new key
breaks WPA handshake as found the hardway by anton@.

Race analysed by dlg@, a lot of net80211 inputs and suggetions from
stsp@.

ok stsp@, dlg@

date 2017-12-21T21:04:38Z
author millert
files src/sys/sys/event.h log diff annotate
message Expand u_short and u_int to unsigned short and unsigned int
respectively to avoid compilation errors when one of the POSIX or
X/OPEN version macros is defined. Also sync the field descriptions
with kqueue.2. OK deraadt@