CVS commit: src/sys/dev/pci/ixgbe
Module Name:src Committed By: msaitoh Date: Wed May 30 08:35:27 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Clear que->disabled_count in {ixgbe,ixv}_init_locked(). Without this, interrupt mask state and EIMS may mismatch and if_init doesn't recover from TX/RX stall problem. This change itself doesn't fix PR#53294. To generate a diff of this commit: cvs rdiff -u -r1.156 -r1.157 src/sys/dev/pci/ixgbe/ixgbe.c cvs rdiff -u -r1.101 -r1.102 src/sys/dev/pci/ixgbe/ixv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci/ixgbe
Module Name:src Committed By: msaitoh Date: Wed May 30 09:17:17 UTC 2018 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add hw.ixgN.debug sysctl. "sysctl -w hw.ixgN.debug=1" dumps some registers to console. To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pckbport
Module Name:src Committed By: ryoon Date: Wed May 30 13:20:39 UTC 2018 Modified Files: src/sys/dev/pckbport: synaptics.c Log Message: Remove double and trailing whitespaces To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pckbport/synaptics.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Wed May 30 16:15:19 UTC 2018 Modified Files: src/sys/netipsec: xform_esp.c Log Message: Rename padding -> padlen, pad -> tail, and clarify. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Wed May 30 16:32:26 UTC 2018 Modified Files: src/sys/netipsec: xform_esp.c Log Message: Simplify the padding computation. Until now 'padlen' contained the ESP Trailer (two bytes), and we were doing minus two all the time. Declare 'tlen', which contains padlen+ESP_Trailer+ICV, and use 'struct esptail' instead of hardcoding the construction of the trailer. 'padlen' now indicates only the length of the padding, so no need to do -2. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Wed May 30 16:43:29 UTC 2018 Modified Files: src/sys/netipsec: xform_esp.c Log Message: Remove dead code, 'espx' is never NULL and dereferenced earlier, so no need to NULL-check all the time. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Wed May 30 16:49:38 UTC 2018 Modified Files: src/sys/netipsec: xform_esp.c Log Message: Apply the previous change in esp_input too, same as esp_output. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Wed May 30 17:17:11 UTC 2018 Modified Files: src/sys/netipsec: xform.h xform_ah.c xform_esp.c Log Message: Introduce ah_authsiz, which computes the length of the ICV only. Use it in esp_hdrsiz, and clarify. Until now we were using ah_hdrsiz, and were relying on the fact that the size of the AH header happens to be equal to that of the ESP trailer. Now the size of the ESP trailer is added manually. This also fixes one branch in esp_hdrsiz: we always append an ESP trailer, so it must always be taken into account, and not just when an ICV is here. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/netipsec/xform.h cvs rdiff -u -r1.103 -r1.104 src/sys/netipsec/xform_ah.c cvs rdiff -u -r1.93 -r1.94 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests
Module Name:src Committed By: kamil Date: Wed May 30 17:31:34 UTC 2018 Modified Files: src/tests/kernel: h_segv.c src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Make the trigger_bus() test compatible with more CPUs (at least ALPHA) If we write a byte character into a pointer, a compiler can emit a read-modify-write operation, especially when a CPU cannot access directly a character wide address. In this scenario calling mmap(2) with PROT_WRITE, without PROT_READ will emit unexpected trap. There are two possible workarounds for this issue: - write register wide memory without rmw sequence, - mark the region with additional protection PROT_READ Both work for NetBSD/alpha. Go for the latter as perhaps more safe for dump compilers emitting rmw sequences. Investigated by To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/kernel/h_segv.c cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libc/sys/t_ptrace_wait.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests
Module Name:src Committed By: kamil Date: Wed May 30 17:48:13 UTC 2018 Modified Files: src/tests/kernel: h_segv.c src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add a comment for the workaround in trigger_bus() Explain PROT_READ|PROT_WRITE. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/kernel/h_segv.c cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/sys/t_ptrace_wait.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Wed May 30 18:02:41 UTC 2018 Modified Files: src/sys/netipsec: xform_ah.c Log Message: Correctly handle the padding for IPv6-AH, as specified by RFC4302. Seen in a FreeBSD bug report, by Jason Mader. The RFC specifies that under IPv6 the complete AH header must be 64bit- aligned, and under IPv4 32bit-aligned. That's a rule we've never respected. The other BSDs and MacOS never have either. So respect it now. This makes it possible to set up IPv6-AH between Linux and NetBSD, and also probably between Windows and NetBSD. Until now all the tests I made were between two *BSD hosts, and everything worked "correctly" since both hosts were speaking the same non-standard AHv6, so they could understand each other. Tested with Fedora<->NetBSD, hmac-sha2-384. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/netipsec/xform_ah.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external
Module Name:src Committed By: mrg Date: Wed May 30 20:54:08 UTC 2018 Modified Files: src/external/atheros/athn: Makefile src/external/atheros/otus: Makefile src/external/broadcom/bcm43xx: Makefile src/external/broadcom/bwfm: Makefile src/external/intel-fw-eula/ipw2100: Makefile src/external/intel-fw-eula/ipw2200: Makefile src/external/intel-fw-public/ipw3945: Makefile src/external/intel-fw-public/iwl100: Makefile src/external/intel-fw-public/iwl1000: Makefile src/external/intel-fw-public/iwl105: Makefile src/external/intel-fw-public/iwl135: Makefile src/external/intel-fw-public/iwl2000: Makefile src/external/intel-fw-public/iwl2030: Makefile src/external/intel-fw-public/iwl3160: Makefile src/external/intel-fw-public/iwl3168: Makefile src/external/intel-fw-public/iwl4965: Makefile src/external/intel-fw-public/iwl5000: Makefile src/external/intel-fw-public/iwl5150: Makefile src/external/intel-fw-public/iwl6000: Makefile src/external/intel-fw-public/iwl6005: Makefile src/external/intel-fw-public/iwl6030: Makefile src/external/intel-fw-public/iwl6050: Makefile src/external/intel-fw-public/iwl7260: Makefile src/external/intel-fw-public/iwl7265: Makefile src/external/intel-fw-public/iwl8000: Makefile src/external/intel-fw-public/iwl8265: Makefile src/external/nvidia-firmware/tegra/tegra124: Makefile src/external/nvidia-firmware/tegra/tegra210: Makefile src/external/realtek/rtwn: Makefile src/external/realtek/urtwn: Makefile Log Message: use FIRMWAREDIR instead of hard coded /libdata/firmware. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/atheros/athn/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/atheros/otus/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/broadcom/bcm43xx/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/broadcom/bwfm/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-eula/ipw2100/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-eula/ipw2200/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/intel-fw-public/ipw3945/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl100/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl1000/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl105/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl135/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl2000/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl2030/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/intel-fw-public/iwl3160/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl3168/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/intel-fw-public/iwl4965/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/intel-fw-public/iwl5000/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl5150/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl6000/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl6005/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl6030/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl6050/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/intel-fw-public/iwl7260/Makefile cvs rdiff -u -r1.5 -r1.6 src/external/intel-fw-public/iwl7265/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/intel-fw-public/iwl8000/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl8265/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/nvidia-firmware/tegra/tegra124/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/nvidia-firmware/tegra/tegra210/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/realtek/rtwn/Makefile cvs rdiff -u -r1.3 -r1.4 src/external/realtek/urtwn/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man7
Module Name:src Committed By: uwe Date: Wed May 30 23:24:13 UTC 2018 Modified Files: src/share/man/man7: signal.7 Log Message: Shorten pleonastic "by the tty driver tty(4)". To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/share/man/man7/signal.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man7
Module Name:src Committed By: uwe Date: Wed May 30 23:41:44 UTC 2018 Modified Files: src/share/man/man7: signal.7 Log Message: Avoid widowed signal numbers. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/share/man/man7/signal.7 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: kamil Date: Wed May 30 23:54:03 UTC 2018 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Simplify comparison of two processes No need to check p_pid to compare whether two processes are the same. No functional change intended. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/kern/sys_ptrace_common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/man
Module Name:src Committed By: kamil Date: Thu May 31 00:25:38 UTC 2018 Modified Files: src/distrib/sets/lists/man: mi Log Message: Fix build with MKCATPAGES=yes zpool-features.8 -> zpool-features.0 To generate a diff of this commit: cvs rdiff -u -r1.1592 -r1.1593 src/distrib/sets/lists/man/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: ozaki-r Date: Thu May 31 02:10:23 UTC 2018 Modified Files: src/sys/net: if.c Log Message: Relax a lock check in if_mcast_op unless NET_MPSAFE It seems that there remain some paths that don't satisfy the constraint that is required only if NET_MPSAFE. So don't check it by default. One known path is nd6_rtrequest => in6_addmulti => if_mcast_op, which is not easy to address. To generate a diff of this commit: cvs rdiff -u -r1.424 -r1.425 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Thu May 31 02:50:14 UTC 2018 Modified Files: src/sys/dev/pci: pcidevs Log Message: - Add some Intel 82965 devices. - Change Intel 0x2a06 from IDE to IDER To generate a diff of this commit: cvs rdiff -u -r1.1337 -r1.1338 src/sys/dev/pci/pcidevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Thu May 31 02:50:38 UTC 2018 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.1328 -r1.1329 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1327 -r1.1328 src/sys/dev/pci/pcidevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/include
Module Name:src Committed By: msaitoh Date: Thu May 31 03:29:01 UTC 2018 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Fix the bit location of SSBD in the macro for snprintb. To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/sys/arch/x86/include/specialreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: mrg Date: Thu May 31 05:27:46 UTC 2018 Modified Files: src/distrib/sets: mkvars.mk src/distrib/sets/lists/base: mi src/external/atheros: Makefile src/external/broadcom: Makefile src/external/intel-fw-eula: Makefile src/external/intel-fw-public: Makefile src/external/realtek: Makefile src/share/mk: bsd.README bsd.own.mk src/sys/dev/microcode/ral: Makefile src/sys/dev/microcode/rum: Makefile src/sys/dev/microcode/run: Makefile src/sys/dev/microcode/zyd: Makefile Log Message: introduce MKFIRMWARE that controls where (most) of the contents of /libdata/firmware and /usr/libdata/firmware are not installed if set to "no". from the bsd.README: MKFIRMWARE If "no", install the /libdata/firmware directory, which is necessary for several drivers: athn(4), bwfm(4), ipw(4), iwi(4), iwm(4), iwn(4), otus(4), rtwn(4), urtwn(4), wpi(4), ral(4), rum(4), run(4), zyd(4), bcm43xx(4), and the Tegra 124 SoC. Default: yes on amd64, cobalt, evbarm evbmips, evbppc, hpcarm, hppa, i386, mac68k, macppc, sandpoint, and sparc64, no elsewhere. convert MKRADEONFIRMWARE and MKTEGRAFIRMWARE into FOO.arch lists, and move their defaults above the general defaults setting. saves about 12MB in a normal installation for other platforms. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/distrib/sets/mkvars.mk cvs rdiff -u -r1.1176 -r1.1177 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.2 -r1.3 src/external/atheros/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/broadcom/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-eula/Makefile cvs rdiff -u -r1.11 -r1.12 src/external/intel-fw-public/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/realtek/Makefile cvs rdiff -u -r1.371 -r1.372 src/share/mk/bsd.README cvs rdiff -u -r1.1061 -r1.1062 src/share/mk/bsd.own.mk cvs rdiff -u -r1.6 -r1.7 src/sys/dev/microcode/ral/Makefile cvs rdiff -u -r1.3 -r1.4 src/sys/dev/microcode/rum/Makefile cvs rdiff -u -r1.1 -r1.2 src/sys/dev/microcode/run/Makefile cvs rdiff -u -r1.2 -r1.3 src/sys/dev/microcode/zyd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Thu May 31 05:52:09 UTC 2018 Modified Files: src/sys/netipsec: xform_esp.c Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Thu May 31 06:14:18 UTC 2018 Modified Files: src/sys/netipsec: xform_esp.c Log Message: Add a comment and a KASSERT. I remember wondering whether this check was a problem, since ARC4 has a blocksize of one. Normally ARC4 can't be used in IPsec. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/netipsec/xform_esp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: maxv Date: Thu May 31 06:25:41 UTC 2018 Modified Files: src/sys/netipsec: xform_ah.c Log Message: Constify ipseczeroes, and remove one use of it. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/netipsec/xform_ah.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.