CVS commit: src/sys/net

2016-02-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Mon Feb 15 08:08:04 UTC 2016

Modified Files:
src/sys/net: if.c if.h

Log Message:
Run if_link_state_change in softint

if_link_state_change can execute the network stack that is expected to
not run in hardware interrupt (at least now), however network drivers
may call it in hardware interrupt. Avoid that by introducing a new
softint for if_link_state_change.

The original patch is provided by mlelstv@ and tweaked a bit by me.

Should fix PR kern/50602.


To generate a diff of this commit:
cvs rdiff -u -r1.323 -r1.324 src/sys/net/if.c
cvs rdiff -u -r1.195 -r1.196 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/rpc

2016-02-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 15 11:07:48 UTC 2016

Modified Files:
src/lib/libc/rpc: xdr_float.c

Log Message:
Avoid strict alias violation for VAX


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/rpc/xdr_float.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools/gcc

2016-02-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb 15 13:25:12 UTC 2016

Modified Files:
src/tools/gcc: Makefile

Log Message:
Add missing closing ) and line continuation for mknative


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/tools/gcc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2016-02-15 Thread Tyler R. Retzlaff
Module Name:src
Committed By:   rtr
Date:   Mon Feb 15 14:59:03 UTC 2016

Modified Files:
src/sys/netinet: in_pcb.c tcp_input.c tcp_subr.c tcp_usrreq.c
udp_usrreq.c
src/sys/netinet6: in6.c in6.h

Log Message:
Reduce code duplication.

Split creation of IPv4-Mapped IPv6 addresses into its own function
and use it.

No functional change intended.  As posted to tech-net@


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.344 -r1.345 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.264 -r1.265 src/sys/netinet/tcp_subr.c
cvs rdiff -u -r1.210 -r1.211 src/sys/netinet/tcp_usrreq.c
cvs rdiff -u -r1.223 -r1.224 src/sys/netinet/udp_usrreq.c
cvs rdiff -u -r1.194 -r1.195 src/sys/netinet6/in6.c
cvs rdiff -u -r1.86 -r1.87 src/sys/netinet6/in6.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/kernel

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 14:59:38 UTC 2016

Modified Files:
src/tests/kernel: Makefile

Log Message:
This needs _KERNTYPES on some platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/tests/kernel/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:18:01 UTC 2016

Modified Files:
src/lib/libedit: el.c

Log Message:
use fparseln() to avoid needing to deal with missing \n in the last line
and also to handle comments automatically.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/lib/libedit/el.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:26:48 UTC 2016

Modified Files:
src/lib/libedit: history.c

Log Message:
Use fparseln to avoid newline hacks.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/lib/libedit/history.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:30:50 UTC 2016

Modified Files:
src/lib/libedit: history.c

Log Message:
Change the test for the size of encoded buffer to include the NULL, from
OpenBSD; no functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/lib/libedit/history.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:35:03 UTC 2016

Modified Files:
src/lib/libedit: terminal.c

Log Message:
OpenBSD term.c rev. 1.13 2009/12/11 18:58:59 jacekm
fix two memory leaks


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libedit/terminal.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:29:25 UTC 2016

Modified Files:
src/lib/libedit: sig.c

Log Message:
OpenBSD sig.c rev. 1.6 2001/12/06 04:26:00 deraadt
save and restore errno in signal handler


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libedit/sig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:37:20 UTC 2016

Modified Files:
src/lib/libedit: tokenizer.c

Log Message:
OpenBSD tokenizer.c rev. 1.8 2003/08/11 18:21:40 deraadt
don't increase amax on realloc failure


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libedit/tokenizer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 15:53:45 UTC 2016

Modified Files:
src/lib/libedit: el.c history.c

Log Message:
Use getline for better portability.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/lib/libedit/el.c
cvs rdiff -u -r1.49 -r1.50 src/lib/libedit/history.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/lua/sqlite

2016-02-15 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Mon Feb 15 15:56:33 UTC 2016

Modified Files:
src/lib/lua/sqlite: sqlite.c

Log Message:
Fix function name, no functional change.
Found by Travis Paul, (see PR/50786), thanks for reporting!


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/lua/sqlite/sqlite.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 16:14:39 UTC 2016

Modified Files:
src/lib/libedit: config.h sys.h

Log Message:
change tests for fgetln.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libedit/config.h
cvs rdiff -u -r1.18 -r1.19 src/lib/libedit/sys.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Feb 15 17:00:27 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: uhci.c

Log Message:
KF


To generate a diff of this commit:
cvs rdiff -u -r1.264.4.58 -r1.264.4.59 src/sys/dev/usb/uhci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 17:35:39 UTC 2016

Modified Files:
src/lib/libedit: sys.h

Log Message:
forgot one fgetln define


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libedit/sys.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2016-02-15 Thread Tyler R. Retzlaff
Module Name:src
Committed By:   rtr
Date:   Mon Feb 15 19:00:42 UTC 2016

Modified Files:
src/sys/netinet: sctp_indata.c sctputil.c

Log Message:
Fix building of IPv4-Mapped IPv6 addresses.

As discussed on tech-net@ use in6_sin_2_v4mapsin6() to build mapped
addresses.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/netinet/sctp_indata.c
cvs rdiff -u -r1.1 -r1.2 src/sys/netinet/sctputil.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem

2016-02-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Feb 15 19:36:35 UTC 2016

Modified Files:
src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem:
nouveau_subdev_instmem_nv40.c

Log Message:
Print error code for failure to map PRAMIN BAR.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \

src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem/nouveau_subdev_instmem_nv40.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9lua

2016-02-15 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Feb 15 20:33:18 UTC 2016

Modified Files:
src/share/man/man9lua: pmf.9lua

Log Message:
fix english


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9lua/pmf.9lua

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/amd64

2016-02-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Feb 15 20:35:59 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: machdep.c

Log Message:
Use KASSERTs supported by CTASSERTs, not __builtin_unreachable.

pcc has no __builtin_unreachable, and this is clearer anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.215 src/sys/arch/amd64/amd64/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/calendar/calendars

2016-02-15 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Mon Feb 15 20:58:02 UTC 2016

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday calendar.history

Log Message:
allexander the greeeat, his name struck fear into hearts of men!

...but let's conquer that fear and give ol' alex a consistent and
correct date of death.

(he died of fever in baabylooo)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/calendar/calendars/calendar.birthday
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/calendar/calendars/calendar.history

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 21:35:52 UTC 2016

Modified Files:
src/lib/libedit: history.c

Log Message:
Don't free getline memory (Ingo Schwarze).


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/lib/libedit/history.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit/TEST

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 21:38:07 UTC 2016

Modified Files:
src/lib/libedit/TEST: Makefile

Log Message:
Compile with WIDECHAR the same way the main Makefile does (Ingo Schwarze)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libedit/TEST/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 21:56:35 UTC 2016

Modified Files:
src/lib/libedit: eln.c

Log Message:
OpenBSD eln.c rev. 1.3 2011/11/27 21:46:44 pascal
kill a C++-style comment


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libedit/eln.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 21:58:38 UTC 2016

Modified Files:
src/lib/libedit: readline.c
src/lib/libedit/readline: readline.h

Log Message:
OpenBSD readline.c rev. 1.13 2015/01/13 08:33:12 reyk
rl_set_keyboard_input_timeout() for readline 4.2 compat


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/lib/libedit/readline.c
cvs rdiff -u -r1.37 -r1.38 src/lib/libedit/readline/readline.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2016-02-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Feb 15 22:37:54 UTC 2016

Modified Files:
src/share/man/man9: cardbus.9

Log Message:
cardbus autoconf uses cardbus_attach_args, not isapnp_attach_args.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man9/cardbus.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 22:48:59 UTC 2016

Modified Files:
src/lib/libedit: config.h readline.c sys.h

Log Message:
OpenBSD readline.c rev. 1.14 2015/02/06 23:21:58 millert
use SIZE_MAX


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libedit/config.h
cvs rdiff -u -r1.118 -r1.119 src/lib/libedit/readline.c
cvs rdiff -u -r1.20 -r1.21 src/lib/libedit/sys.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 22:53:38 UTC 2016

Modified Files:
src/lib/libedit: terminal.c

Log Message:
OpenBSD term.c rev. 1.7 2002/11/29 20:13:39 deraadt
spelling


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libedit/terminal.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2016-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 15 23:36:30 UTC 2016

Modified Files:
src/lib/libedit: readline.c

Log Message:
attribute unused


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/lib/libedit/readline.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2016-02-15 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue Feb 16 01:31:26 UTC 2016

Modified Files:
src/sys/net: if.h if_llatbl.c if_llatbl.h

Log Message:
Remove workaround for GATEWAY

The workaround was introduced because lltable/llentry uses rwlock
but it may be executed in hardware interrupt due to fast forward.
Now we don't run fast forward in hardware interrupt anymore, so
we can remove the workaround.


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 src/sys/net/if.h
cvs rdiff -u -r1.9 -r1.10 src/sys/net/if_llatbl.c
cvs rdiff -u -r1.7 -r1.8 src/sys/net/if_llatbl.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/zaurus/conf

2016-02-15 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue Feb 16 05:14:31 UTC 2016

Modified Files:
src/sys/arch/zaurus/conf: INSTALL

Log Message:
Reduced INSTALL kernel size.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/zaurus/conf/INSTALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Feb 16 07:16:47 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ehcireg.h

Log Message:
Add some changes to ehci_sitd_t based on the RiscOS code sent to me by
Colin Granvillein private email


To generate a diff of this commit:
cvs rdiff -u -r1.34.14.10 -r1.34.14.11 src/sys/dev/usb/ehcireg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-02-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Feb 16 07:30:46 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: uhci.c

Log Message:
Use TAILQ_FOREACH.  No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.264.4.59 -r1.264.4.60 src/sys/dev/usb/uhci.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

2016-02-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Feb 16 07:51:13 UTC 2016

Modified Files:
src/sys/dev/usb: uhub.c usbdivar.h

Log Message:
Re-enable the TT support that existed previously.


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/dev/usb/uhub.c
cvs rdiff -u -r1.111 -r1.112 src/sys/dev/usb/usbdivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.