CVS commit: src/usr.sbin/timed/timed

2018-01-15 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Jan 16 07:57:58 UTC 2018 Modified Files: src/usr.sbin/timed/timed: slave.c timed-extern.h Log Message: Returns void, mark noreturn. >From Eitan Adler in PR bin/52925 To generate a diff of this commit: cvs rdiff -u -r1.18

CVS commit: src/sys/netinet6

2018-01-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Tue Jan 16 07:56:55 UTC 2018 Modified Files: src/sys/netinet6: nd6_nbr.c Log Message: Revert "Work around softnet_lock handling" as per pgoyette@'s request We should avoid if (mutex_owned(softnet_lock)). To generate a diff of

CVS commit: src/sys/net80211

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jan 16 07:53:02 UTC 2018 Modified Files: src/sys/net80211: ieee80211_input.c ieee80211_var.h Log Message: Start cleaning up this mess. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92

CVS commit: src/sys

2018-01-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Jan 16 07:34:12 UTC 2018 Modified Files: src/sys/modules/if_agr: Makefile src/sys/net/agr: if_agr.c Log Message: Fix agr(4) module build. Reviewed by pgoyette@n.o, thanks. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2018-01-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Jan 16 07:23:13 UTC 2018 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix wm_watchdog_txq() lock region. Not only wm_txeof() but also wm_watchdog_txq() itself requires txq_lock as it reads Tx descriptor

CVS commit: src/sys/dev/pci

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jan 16 07:05:25 UTC 2018 Modified Files: src/sys/dev/pci: if_ipw.c if_iwi.c if_iwn.c Log Message: Fix overflow. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pci/if_ipw.c cvs rdiff -u -r1.104

CVS commit: src/games/bcd

2018-01-15 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jan 16 06:43:53 UTC 2018 Modified Files: src/games/bcd: bcd.6 Log Message: Neither bcd(6) nor morse(6) produce output containing slashes, and the -d (decode) option works just fine with dashes. :) To generate a diff of

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jan 16 06:38:42 UTC 2018 Modified Files: src/sys/net: if_gre.c Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/net/if_gre.c Please note that diffs are not public domain; they are

CVS commit: src/games/morse

2018-01-15 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Jan 16 06:20:24 UTC 2018 Modified Files: src/games/morse: morse.c Log Message: Add _, from Eitan Adler in PR bin/52897 To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/games/morse/morse.c Please note that

CVS commit: src/sys/arch/amd64/stand/prekern

2018-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 15 22:38:01 UTC 2018 Modified Files: src/sys/arch/amd64/stand/prekern: prekern.h Log Message: avoid typedef redefinitiones To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/usr.bin/xlint/lint1

2018-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 15 22:14:24 UTC 2018 Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: fix indent To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/usr.bin/xlint/lint1/err.c Please note that diffs are not

CVS commit: src/usr.bin/xlint/lint1

2018-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 15 21:58:55 UTC 2018 Modified Files: src/usr.bin/xlint/lint1: cgram.y scan.l Log Message: Add a _Noreturn token To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/usr.bin/xlint/lint1/cgram.y cvs rdiff

CVS commit: src/sys/arch/sparc/sparc

2018-01-15 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jan 15 21:25:25 UTC 2018 Modified Files: src/sys/arch/sparc/sparc: cache.c Log Message: vcache_flush_* event counters are not interrupt type. mark them misc. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99

CVS commit: src

2018-01-15 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jan 15 20:39:53 UTC 2018 Modified Files: src: build.sh Log Message: Restore formatting/indentation of the configure call in rebuildmake() to what it used to be. To generate a diff of this commit: cvs rdiff -u -r1.322 -r1.323

CVS commit: src/tools/make

2018-01-15 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jan 15 20:14:49 UTC 2018 Modified Files: src/tools/make: buildmake.sh.in Log Message: Do not use HOST_CFLAGS to link the make binary. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tools/make/buildmake.sh.in

CVS commit: src/tools/make

2018-01-15 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jan 15 19:57:49 UTC 2018 Modified Files: src/tools/make: buildmake.sh.in Log Message: G/c unused runcmd. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tools/make/buildmake.sh.in Please note that diffs are

CVS commit: src

2018-01-15 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jan 15 19:52:54 UTC 2018 Modified Files: src: build.sh src/tools/make: buildmake.sh.in Log Message: Make sure nbmake is always built with the right _PATH_DEFSYSPATH. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/doc

2018-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 15 19:01:55 UTC 2018 Modified Files: src/doc: CHANGES Log Message: add date To generate a diff of this commit: cvs rdiff -u -r1.2345 -r1.2346 src/doc/CHANGES Please note that diffs are not public domain; they are

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 16:36:51 UTC 2018 Modified Files: src/sys/net: if_ether.h if_vlan.c if_vlanvar.h Log Message: Mostly style, and add a bunch of KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/usr.sbin/autofs

2018-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 15 14:38:06 UTC 2018 Modified Files: src/usr.sbin/autofs: automount.c Log Message: avoid passing literal string to unconst. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/autofs/automount.c

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 14:00:34 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Style, and fix a bug in the AppleTalk path: we're doing M_PREPEND(M_DONTWAIT), but we forgot to NULL-check the mbuf afterwards. To generate a

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 13:14:18 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Fix two bugs in altq_etherclassify. When scanning the mbuf chain we need to make sure that m_next is not NULL, otherwise NULL deref. After that,

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 13:05:40 UTC 2018 Modified Files: src/sys/net: if.h Log Message: Add a KASSERT in IFQ_CLASSIFY, we really need to make sure the given mbuf is the top of the chain. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci

2018-01-15 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Jan 15 12:58:06 UTC 2018 Modified Files: src/sys/dev/pci: mpii.c Log Message: indent to magic logic To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/mpii.c Please note that diffs are not public

CVS commit: src/sys/dev/pci

2018-01-15 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Jan 15 12:43:43 UTC 2018 Modified Files: src/sys/dev/pci: ahd_pci.c Log Message: malloc+memset zero to malloc(, |M_ZERO); ok rkujawa To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/pci/ahd_pci.c

CVS commit: src/sbin/gpt

2018-01-15 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Mon Jan 15 12:20:47 UTC 2018 Modified Files: src/sbin/gpt: gpt.8 Log Message: Explain what suffixes are accepted when specifying a size. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sbin/gpt/gpt.8 Please

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 12:17:05 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Fix a bug in the VLAN path: there's an inverted logic, the mbuf needs to be bigger than struct ether_vlan_header, not smaller. Meanwhile add a

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 11:57:27 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Style, make the code more readable, and add a KASSERT (we expect the mbuf to have M_PKTHDR set). To generate a diff of this commit: cvs rdiff

CVS commit: src/bin/sh

2018-01-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 15 11:27:39 UTC 2018 Modified Files: src/bin/sh: sh.1 Log Message: Paul Goyette suggested improvements to parts of the description of LINENO ... this is what resulted (with thanks for the grammar lessons, and sundry

CVS commit: src/sys/net/agr

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 11:16:04 UTC 2018 Modified Files: src/sys/net/agr: if_agr.c Log Message: Mmh, fix a weird mistake: the guy who added #if NVLAN > 0 forgot to actually include vlan.h, so the branches are never compiled. They don't

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 10:27:51 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Several fixes: - Style and typos - Use kmem_zalloc, in case there is a padding between the fields of the structures - Use ETHER_ADDR_LEN

CVS commit: src/sys/arch/sparc/include

2018-01-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 15 10:06:49 UTC 2018 Modified Files: src/sys/arch/sparc/include: reg.h Log Message: Redo previous: apply the alignement to the whole struct fpstate - everything in there is properly aligned, and we need to have fs_queue

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 09:49:16 UTC 2018 Modified Files: src/sys/net: if_bridge.c Log Message: If the bridge is not running, don't call bridge_stop. Otherwise the following commands will crash the kernel: ifconfig bridge0 create

CVS commit: src/sys/arch/sparc/conf

2018-01-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 15 09:48:28 UTC 2018 Modified Files: src/sys/arch/sparc/conf: GENERIC Log Message: Enable DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/arch/sparc/conf/GENERIC Please note that

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 09:26:21 UTC 2018 Modified Files: src/sys/net: if_gif.c Log Message: Fix spl leak. ifconfig gif0 create ifconfig gif0 destroy WARNING: SPL NOT LOWERED ON ... To generate a diff of this commit:

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 08:45:19 UTC 2018 Modified Files: src/sys/net: if_vlan.c Log Message: Style, improve comment, and add KASSERTs on the assumptions. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/net/if_vlan.c

CVS commit: src/sys/arch/x86/include

2018-01-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jan 15 08:17:20 UTC 2018 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Add IA32_SPEC_CTRL MSR and IA32_PRED_CMD MSR. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111

CVS commit: src/sys

2018-01-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Jan 15 08:17:35 UTC 2018 Modified Files: src/sys/netinet: in.c src/sys/netinet6: in6.c Log Message: Remove extra pserialize_perform from in_purgeaddr It's already performed in ifa_remove. Note so there (in

CVS commit: src/sys/net

2018-01-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 15 07:59:48 UTC 2018 Modified Files: src/sys/net: if_ethersubr.c Log Message: Fix the net.ether.multicast sysctl. If there is no multicast address don't kmem_alloc(0) (which panics the kernel), and if the number of