CVS commit: src/sys/netinet6
Module Name:src Committed By: ozaki-r Date: Fri Nov 10 07:27:57 UTC 2017 Modified Files: src/sys/netinet6: in6_ifattach.c Log Message: Use psref instead of pserialize because that code is sleepable To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/netinet6/in6_ifattach.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: ozaki-r Date: Fri Nov 10 07:25:39 UTC 2017 Modified Files: src/sys/netinet6: nd6.c Log Message: Use psref instead of pserialize because that code is sleepable To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/sys/netinet6/nd6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: ozaki-r Date: Fri Nov 10 07:24:28 UTC 2017 Modified Files: src/sys/net: if_llatbl.c if_llatbl.h src/sys/netinet: if_arp.c in.c src/sys/netinet6: in6.c nd6.c Log Message: Fix a deadlock between a route update and lltable It happens because rtalloc1 is called from lltable with holding IF_AFDATA_WLOCK. If a route update is in action, rtalloc1 would wait for its completion with holding IF_AFDATA_WLOCK. At the same moment, a softint (e.g., arpintr) may try to take IF_AFDATA_WLOCK and get stuck on it. Unfortunately the stuck softint prevents the route update from progressing because the route update calls psref_target_destroy that needs the softint to complete. A resource allocation graph of the senario looks like this: route update =(psref_target_destroy)=> softint => IF_AFDATA_WLOCK =(rt_update_wait)=> route update Fix the deadlock by pulling rtalloc1 out of the lltable codes inside IF_AFDATA_WLOCK. Note that the deadlock happens only if NET_MPSAFE is enabled. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/net/if_llatbl.c cvs rdiff -u -r1.12 -r1.13 src/sys/net/if_llatbl.h cvs rdiff -u -r1.253 -r1.254 src/sys/netinet/if_arp.c cvs rdiff -u -r1.208 -r1.209 src/sys/netinet/in.c cvs rdiff -u -r1.249 -r1.250 src/sys/netinet6/in6.c cvs rdiff -u -r1.236 -r1.237 src/sys/netinet6/nd6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: ozaki-r Date: Fri Nov 10 07:15:32 UTC 2017 Modified Files: src/sys/netinet: in.c src/sys/netinet6: in6.c Log Message: Remove redundant KASSERTMSG The function is static, has just one caller and the caller does the same check. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/sys/netinet/in.c cvs rdiff -u -r1.248 -r1.249 src/sys/netinet6/in6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/sunxi
Module Name:src Committed By: jmcneill Date: Fri Nov 10 00:09:23 UTC 2017 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sunxi_nand.c Log Message: Allwinner NAND Flash Controller driver. Work in progress. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/arch/arm/sunxi/files.sunxi cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/sunxi/sunxi_nand.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/acpi
Module Name:src Committed By: ryoon Date: Thu Nov 9 23:51:54 UTC 2017 Modified Files: src/sys/dev/acpi: valz_acpi.c Log Message: Do not emit a meaningless message when lid open/close from valz(4) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/valz_acpi.c 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: riastradh Date: Thu Nov 9 23:20:12 UTC 2017 Modified Files: src/sys/kern: subr_kmem.c Log Message: Assert KM_SLEEP xor KM_NOSLEEP in all kmem allocation. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/kern/subr_kmem.c 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: christos Date: Thu Nov 9 22:52:27 UTC 2017 Modified Files: src/sys/kern: subr_pool.c Log Message: Add assertions that either PR_WAITOK or PR_NOWAIT are set. To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: riastradh Date: Thu Nov 9 22:34:07 UTC 2017 Modified Files: src/sys/sys: mbuf.h Log Message: panic ex nihilo -- PR_NOWAITing for zerot To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/sys/mbuf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/marvell
Module Name:src Committed By: christos Date: Thu Nov 9 22:22:58 UTC 2017 Modified Files: src/sys/dev/marvell: mvxpsec.c Log Message: use PR_NOWAIT instead of 0 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/marvell/mvxpsec.c 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: christos Date: Thu Nov 9 22:21:27 UTC 2017 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Don't use 0 for PR_NOWAIT To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/kern/uipc_mbuf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/opencrypto
Module Name:src Committed By: christos Date: Thu Nov 9 22:20:26 UTC 2017 Modified Files: src/sys/opencrypto: crypto.c Log Message: use PR_NOWAIT. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/opencrypto/crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/ufs/chfs
Module Name:src Committed By: christos Date: Thu Nov 9 22:16:39 UTC 2017 Modified Files: src/sys/ufs/chfs: chfs_malloc.c Log Message: use PR_WAITOK everywhere. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/chfs/chfs_malloc.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/dtv
Module Name:src Committed By: riastradh Date: Thu Nov 9 22:16:35 UTC 2017 Modified Files: src/sys/dev/dtv: dtv_scatter.c Log Message: Guess pool_cache_get(pc, 0) means PR_WAITOK here. Earlier on in the same context we use kmem_alloc(sz, KM_SLEEP). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/dtv/dtv_scatter.c 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: christos Date: Thu Nov 9 21:57:06 UTC 2017 Modified Files: src/sys/kern: subr_extent.c Log Message: don't pass 0 to the pool flags To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/kern/subr_extent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/sunxi
Module Name:src Committed By: jmcneill Date: Thu Nov 9 21:52:33 UTC 2017 Modified Files: src/sys/arch/arm/sunxi: sun5i_a13_ccu.c Log Message: add NAND module clock To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/sunxi/sun5i_a13_ccu.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/nand
Module Name:src Committed By: jmcneill Date: Thu Nov 9 21:50:15 UTC 2017 Modified Files: src/sys/dev/nand: files.nand nand.c nand.h Added Files: src/sys/dev/nand: nand_toshiba.c Log Message: Add support for decoding legacy Toshiba TC58NVG2S0H NAND chip params. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/nand/files.nand cvs rdiff -u -r1.25 -r1.26 src/sys/dev/nand/nand.c cvs rdiff -u -r1.16 -r1.17 src/sys/dev/nand/nand.h cvs rdiff -u -r0 -r1.1 src/sys/dev/nand/nand_toshiba.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/nand
Module Name:src Committed By: jmcneill Date: Thu Nov 9 21:45:24 UTC 2017 Modified Files: src/sys/dev/nand: nand_samsung.c Log Message: ul is not 64-bit on all platforms, use ull when calculating planesize To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/nand/nand_samsung.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/evbarm/rpi
Module Name:src Committed By: skrll Date: Thu Nov 9 21:39:48 UTC 2017 Modified Files: src/sys/arch/evbarm/rpi: vcprop_subr.c Log Message: Trailing whitespcae To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/rpi/vcprop_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/cortex
Module Name:src Committed By: skrll Date: Thu Nov 9 21:38:25 UTC 2017 Modified Files: src/sys/arch/arm/cortex: gtmr_var.h Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/cortex/gtmr_var.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/evbarm/fdt
Module Name:src Committed By: skrll Date: Thu Nov 9 21:38:48 UTC 2017 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/fdt/fdt_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/broadcom
Module Name:src Committed By: skrll Date: Thu Nov 9 21:37:52 UTC 2017 Modified Files: src/sys/arch/arm/broadcom: bcm2835_gpio.c bcm2835_space.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/broadcom/bcm2835_gpio.c cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/broadcom/bcm2835_space.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/utils/embedded/conf
Module Name:src Committed By: skrll Date: Thu Nov 9 21:36:46 UTC 2017 Modified Files: src/distrib/utils/embedded/conf: armv7.conf rpi.conf Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/distrib/utils/embedded/conf/armv7.conf cvs rdiff -u -r1.30 -r1.31 src/distrib/utils/embedded/conf/rpi.conf 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: christos Date: Thu Nov 9 20:30:02 UTC 2017 Modified Files: src/lib/libc/stdio: fdopen.c flags.c fopen.c freopen.c src/lib/libc/sys: open.2 src/sys/kern: vfs_vnops.c src/sys/sys: fcntl.h Log Message: Add O_REGULAR to enforce opening of only regular files (like we have O_DIRECTORY for directories). This is better than open(, O_NONBLOCK), fstat()+S_ISREG() because opening devices can have side effects. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdio/fdopen.c cvs rdiff -u -r1.18 -r1.19 src/lib/libc/stdio/flags.c cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdio/fopen.c cvs rdiff -u -r1.19 -r1.20 src/lib/libc/stdio/freopen.c cvs rdiff -u -r1.57 -r1.58 src/lib/libc/sys/open.2 cvs rdiff -u -r1.195 -r1.196 src/sys/kern/vfs_vnops.c cvs rdiff -u -r1.48 -r1.49 src/sys/sys/fcntl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/mail
Module Name:src Committed By: christos Date: Thu Nov 9 20:27:50 UTC 2017 Modified Files: src/usr.bin/mail: cmd2.c cmd3.c collect.c edit.c fio.c lex.c list.c mime_attach.c mime_child.c mime_detach.c names.c quit.c send.c support.c Log Message: Only open regular files. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/mail/cmd2.c cvs rdiff -u -r1.43 -r1.44 src/usr.bin/mail/cmd3.c src/usr.bin/mail/lex.c cvs rdiff -u -r1.48 -r1.49 src/usr.bin/mail/collect.c cvs rdiff -u -r1.28 -r1.29 src/usr.bin/mail/edit.c src/usr.bin/mail/quit.c cvs rdiff -u -r1.42 -r1.43 src/usr.bin/mail/fio.c cvs rdiff -u -r1.27 -r1.28 src/usr.bin/mail/list.c cvs rdiff -u -r1.18 -r1.19 src/usr.bin/mail/mime_attach.c cvs rdiff -u -r1.8 -r1.9 src/usr.bin/mail/mime_child.c \ src/usr.bin/mail/mime_detach.c cvs rdiff -u -r1.32 -r1.33 src/usr.bin/mail/names.c cvs rdiff -u -r1.38 -r1.39 src/usr.bin/mail/send.c cvs rdiff -u -r1.24 -r1.25 src/usr.bin/mail/support.c 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: christos Date: Thu Nov 9 19:34:17 UTC 2017 Modified Files: src/sys/kern: subr_pool.c Log Message: Handle the ERESTART case from pool_grow() To generate a diff of this commit: cvs rdiff -u -r1.213 -r1.214 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amd64/stand/prekern
Module Name:src Committed By: maxv Date: Thu Nov 9 15:56:56 UTC 2017 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c prekern.h Log Message: Define utility functions as inlines in prekern.h. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amd64/stand/prekern/elf.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/stand/prekern/prekern.h 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: christos Date: Thu Nov 9 15:53:40 UTC 2017 Modified Files: src/sys/kern: subr_pool.c Log Message: make the KASSERTMSG/panic strings consistent as '%s: [%s], __func__, wchan' To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amd64/conf
Module Name:src Committed By: maxv Date: Thu Nov 9 15:46:48 UTC 2017 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 Added Files: src/sys/arch/amd64/conf: kern.ldscript.kaslr Log Message: Use another ld script for kaslr kernels, in which there are no alignment directives. They don't matter since the bootloader overwrites them. But, normally we still need to make sure .data.read_mostly is aligned. Unfortunately I couldn't find any way to force sh_addralign to be 64, so I'm leaving the alignment there as a useless reminder. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/arch/amd64/conf/Makefile.amd64 cvs rdiff -u -r0 -r1.1 src/sys/arch/amd64/conf/kern.ldscript.kaslr 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: christos Date: Thu Nov 9 15:40:23 UTC 2017 Modified Files: src/sys/kern: subr_pool.c Log Message: Since pr_lock is now used to wait for two things now (PR_GROWING and PR_WANTED) we need to loop for the condition we wanted. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/sys/kern/subr_pool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amd64/stand/prekern
Module Name:src Committed By: maxv Date: Thu Nov 9 15:24:39 UTC 2017 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c mm.c prekern.h Log Message: Fill in the page padding. Only .text is pre-filled by the ld script, but this will change in the future. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amd64/stand/prekern/elf.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amd64/stand/prekern/mm.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amd64/stand/prekern/prekern.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/nvi/usr.bin/recover
Module Name:src Committed By: christos Date: Thu Nov 9 15:03:01 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/recover: virecover Log Message: Don't get stuck reading named pipes; only try to read plain files in order to send mail. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/usr.bin/recover/virecover Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpkern
Module Name:src Committed By: christos Date: Thu Nov 9 12:46:55 UTC 2017 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: added booted_method To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183 src/sys/rump/librump/rumpkern/emul.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/usb
Module Name:src Committed By: msaitoh Date: Thu Nov 9 10:03:47 UTC 2017 Modified Files: src/sys/dev/usb: xhci.c Log Message: Wait 1ms first. Existing Intel xHCI requies 1ms delay to prevent system hang (Errata). XXX pullup-[78] To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/dev/usb/xhci.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: Thu Nov 9 09:33:28 UTC 2017 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: On device which has SFP(+) cage and a module is inserted, hw->phy.id is not MII PHY id but SFF 8024 ID. So checking hw->phy.id with 0 doesn't work. Print PHY ID only for copper PHY. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 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/crypto/dist/ipsec-tools/src/racoon
Module Name:src Committed By: knakahara Date: Thu Nov 9 08:34:50 UTC 2017 Modified Files: src/crypto/dist/ipsec-tools/src/racoon: pfkey.c Log Message: fix typo. (does not affect actual operation, but confuses reader...) The function is called when racoon receives SADB_X_MIGRATE pfkey message, however the message is not used now. It was compatible code for KAME. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/crypto/dist/ipsec-tools/src/racoon/pfkey.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.