OpenBSD cvs log

created 2019-05-04T02:30:01Z
begin 2017-10-19T00:00:00Z
end 2017-10-20T00:00:00Z
path src/sys
commits 7

date 2017-10-19T11:02:42Z
author bluhm
files src/sys/net/if_loop.c log diff annotate
src/sys/sys/mbuf.h log diff annotate
message There was a possible stack overrun in the network since we had
removed some queueing. lo(4) output called the ip input routines
without a queue. So if a packet looped through the kernel, the
kernel stack filled up.
Use M_LOOP to find recursive calls to looutput(). This flag is set
when a packet goes through the loopback interface. Avoid an
additional queueing if the packet goes to lo(4) only once. As there
may be gif(4), bridge(4), pair(4), ipsec(4), rdomain(4), ... setups
that legitimately pass lo(4) more than once, use the interface input
queue for these cases.
Packets in the queue run through ip forward. There the TTL is
decremented and the packet is finally processed or dropped.
found by markus@; OK mpi@ sashan@

date 2017-10-19T11:16:17Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Disable promisc mode and accepting all multicast packets. These should
be properly enabled by the correct ioctls.

date 2017-10-19T12:35:17Z
author patrick
files src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Don't forget to free the firmware in the error path, and make sure to
pass the proper size.

Caught by Jared McNeill.

date 2017-10-19T16:58:05Z
author bluhm
files src/sys/ddb/db_command.c log diff annotate
message ddb "show all mounts" showed everything except the address of the
mount point. Print it to allow debugging through the data structures
from there.
OK krw@

date 2017-10-19T19:07:48Z
author jmc
files src/sys/dev/ic/z8530reg.h log diff annotate
message spelling fix; from miod

date 2017-10-19T21:23:47Z
author patrick
files src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Don't just return but setup and resubmit the transfer if we're not
getting the data we expect to be getting. Otherwise the firmware
can starve our USB RX descriptors using invalid packets.

Caught by Jared McNeill.

date 2017-10-19T22:09:49Z
author mikeb
files src/sys/arch/amd64/amd64/tsc.c log diff annotate
message Don't forget to set the timecounter frequency

Found the hard way, fix tested and OK mlarkin