OpenBSD cvs log

created 2019-05-08T06:02:19Z
begin 2018-02-07T00:00:00Z
end 2018-02-08T00:00:00Z
path src/sys
commits 23

date 2018-02-07T00:31:10Z
author bluhm
files src/sys/netinet/tcp_timer.c log diff annotate
src/sys/netinet/tcp_timer.h log diff annotate
src/sys/netinet/tcp_var.h log diff annotate
message Historically TCP timeouts were implemented with pr_slowtimo and
pr_fasttimo. That is the reason why we have two timeout mechanisms
with complicated ticks calculation. Move the delay ACK timeout to
milliseconds and remove some ticks and hz mess from the others.
This makes it easier to see the actual values.
OK florian@ dhill@ dlg@

date 2018-02-07T01:09:57Z
author dlg
files src/sys/conf/GENERIC log diff annotate
src/sys/conf/files log diff annotate
src/sys/net/if_mobileip.c log diff annotate
src/sys/net/if_mobileip.h log diff annotate
src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_gre.c log diff annotate
message split mobileip(4) out from the gre(4) driver.

having mobileip in gre makes it hard to cut gre up. the current mobileip
code is also broken, so this is def and improvement. it also makes it
easy to disable and remove mobileip in the future.

ok claudio@ henning@

date 2018-02-07T01:50:48Z
author dlg
files src/sys/net/pf_syncookies.c log diff annotate
message unbreak strict alignment archs by using SIPHASH_KEY for siphash
keys, not uint8_t array.

found by sparc64.

probably ok henning@, but he's at coffee

date 2018-02-07T01:52:15Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message remove mobileip(4) tendrils

date 2018-02-07T05:48:47Z
author henning
files src/sys/net/pf_syncookies.c log diff annotate
src/sys/net/pfvar.h log diff annotate
message provide counters for # of synfloods detected, # of syncookies sent,
# of syncookies successfuly validated, ok phessler

date 2018-02-07T05:59:00Z
author dlg
files src/sys/net/if_mobileip.c log diff annotate
message take the interface down if it is being destroyed.

date 2018-02-07T06:02:01Z
author dlg
files src/sys/net/if_mobileip.c log diff annotate
message dont return ENETRESET from SIOCSIFFLAGS, it wont't be handled properly

date 2018-02-07T06:11:43Z
author henning
files src/sys/net/pf_ioctl.c log diff annotate
message look ma, henning forgot to PF_LOCK/_UNLOCK in the new ioctls, ok procter

date 2018-02-07T06:16:08Z
author krw
files src/sys/dev/softraid.c log diff annotate
message Use duid_format() instead of rolling one locally.

ok jsing@ tb@

date 2018-02-07T06:19:54Z
author krw
files src/sys/arch/amd64/amd64/mpbios.c log diff annotate
src/sys/arch/i386/i386/mpbios.c log diff annotate
message Use M_WAITOK to show we don't need to check for NULL.

ok deraadt@

date 2018-02-07T11:30:01Z
author mpi
files src/sys/net/if_bridge.c log diff annotate
src/sys/netinet/ip_carp.c log diff annotate
message Unbreak carp(4) MAC check in bridge_process().

Introduce bridge_ourether() and move carp(4)-specific SRPL code inside
carp_ourether().

ok bluhm@

date 2018-02-07T18:42:38Z
author naddy
files src/sys/arch/amd64/amd64/autoconf.c log diff annotate
src/sys/arch/i386/i386/autoconf.c log diff annotate
message branches: 1.51.2;
Reporting the PXE boot interface we identified is independent of setting
the boot device. We do the latter only for NFSCLIENT, but always the former.
While here, modernize the interface matching loop.
ok deraadt@

date 2018-02-07T20:31:57Z
author tedu
files src/sys/sys/exec_script.h log diff annotate
message the SETUIDSCRIPTS define is no longer needed since the code was unifdef
a few years ago. spotted by tb.

date 2018-02-07T21:36:34Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmreg.h log diff annotate
src/sys/dev/ic/bwfmvar.h log diff annotate
message Add helper to find out if the chip supports Save/Restore. Will be used
in the SDIO bus glue.

date 2018-02-07T21:44:09Z
author patrick
files src/sys/dev/ic/bwfmreg.h log diff annotate
src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
src/sys/dev/sdmmc/if_bwfm_sdio.h log diff annotate
message Move SDIO bus and protocol definitions from the shared header
into one header specific to the SDIO attachment driver. Also
add more register and protocol definitions to it.

date 2018-02-07T22:01:04Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmvar.h log diff annotate
src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Move parsing the BCDC header on RX into a protocol specific RX
function so it can be shared with the SDIO attachment driver.

date 2018-02-07T22:02:48Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Move parsing the BCDC header on RX into a protocol specific RX
function so it can be shared with the SDIO attachment driver.

date 2018-02-07T22:08:24Z
author patrick
files src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
message Outsource setting the backplane window into a specific function so it
can be called and reused in different places.

date 2018-02-07T22:10:17Z
author dlg
files src/sys/conf/GENERIC log diff annotate
message dcoppa@ and bluhm@ noted that i accidentally removed POOL_DEBUG

put it back.

date 2018-02-07T22:30:59Z
author dlg
files src/sys/net/if_gre.c log diff annotate
src/sys/net/if_gre.h log diff annotate
src/sys/netinet/ip_gre.c log diff annotate
src/sys/netinet/ip_gre.h log diff annotate
src/sys/netinet6/in6_proto.c log diff annotate
message update the gre driver.

the main new feature is gre keys, supported by the vnetid ioctls.
this also adds support for gre over ipv6, the use of hfsc, and
allows tx mitigation in the future.

this diff removes keepalive support, but i promised claudio@ and
patrick@ i would put it back after this goes in.

ok claudio@

date 2018-02-07T22:35:14Z
author bluhm
files src/sys/dev/ic/gem.c log diff annotate
message Sporadically the network over gem(4) interface hang on sparc64 and
macppc. Receiving packets stopped, ifconfig down/up made it work
again.
In the tick timeout handler refill the receive ring if it is empty.
The logic is taken from hme(4). Also protect the register access
and ifp counters with splnet().
In gem_rx_watchdog() is a workaround for a hardware bug. It resets
the hardware when there is no progress. If the fifo pointers
advanced a bit, it got stuck anyway. So restart the receive watchdog
timeout in that case.
OK mpi@

date 2018-02-07T22:36:54Z
author dlg
files src/sys/net/if.c log diff annotate
message add SIOCSETKALIVE to the list of ioctls that need root and NET_LOCK

date 2018-02-07T22:46:11Z
author procter
files src/sys/netinet/ip_ah.c log diff annotate
message comment change only. ok bluhm@