mrg
a54e8b26f9
obsolete some GCC 4.8 files.
2018-02-13 10:02:12 +00:00
martin
24e4f9aca2
Fix copy & pasto (dsa code vs. rsa code) in previous, fixes PR lib/53012
...
and recentish sshfs test failures.
2018-02-13 09:51:33 +00:00
mrg
fa27b654ce
use -fno-delete-null-pointer-checks for kernels.
2018-02-13 09:50:35 +00:00
maxv
afc364f7fa
Put time_second and time_uptime in different cache lines, probably saves
...
us some false sharing.
2018-02-13 09:26:17 +00:00
maxv
e8a9ae2459
Don't force ARPHRD_IEEE1394 on IEEE1394 interfaces. If it's not there, then
...
kick the packet. And do this earlier.
2018-02-13 08:51:37 +00:00
maxv
e296dd2e51
Define ar_* as inlined functions, not as macros. Makes it easier to
...
understand why ARPHRD_IEEE1394 needs to be handled with care - it doesn't
have ar_tha.
2018-02-13 08:43:26 +00:00
maxv
a79a3b36b5
Use only one label, clearer.
2018-02-13 08:20:12 +00:00
maxv
86df9cc3e2
Fix three things in arpintr():
...
* mtod can't return NULL.
* It is wrong to kick the packet if m->m_len < arplen. While this check
always returns false for native Ethernet interfaces, it may not if the
frame is encapsulated in EtherIP/L2TP. Use m_pullup instead.
* Remove XXX, it is fine. Reduce the indentation level afterwards.
2018-02-13 07:51:24 +00:00
maxv
0bb6dee8f3
Style, no functional change.
2018-02-13 07:44:25 +00:00
pgoyette
7a4c4c3326
Disable the 'define dbcool {}' line - it's not needed, and causes
...
problems with config(1) and gcc6. See PR toolchain/530223 for more
info.
2018-02-13 07:21:19 +00:00
maxv
4770de59d1
Remove double declaration; 'ddb_regs' is already declared as a macro
...
in db_machdep.h if MULTIPROCESSOR is on, and the macro has higher
priority.
Don't declare 'ddb_regs' locally in this case, because it is misleading.
Part of PR/52964.
2018-02-13 06:44:13 +00:00
mrg
b549c2f1b5
note that openssl and GCC may upset your builds.
2018-02-13 04:36:00 +00:00
ozaki-r
2a3f19c32a
Define ddb_regp only if MULTIPROCESSOR (NFC)
2018-02-13 04:11:28 +00:00
ozaki-r
98aad07956
Fix NULL pointer dereference via ddb_regs
...
ddb_regs can be *ddb_regp (see db_machdep.h) so ddb_regp should be NULL-ed
after dereference to ddb_regs.
Also dbreg should be restored to ddb_regp because ddb_regp can be changed
by db_mach_cpu during db_trap.
Fix PR 52964
Helped by nonaka@
2018-02-13 04:10:41 +00:00
christos
6769d26ead
Unconditionally print the trap like we do for amdt64 (Dimitris Karagkasidis)
2018-02-13 01:05:18 +00:00
sevan
9b1213ca1f
Spelling
2018-02-13 00:34:11 +00:00
joerg
e9096488b2
Add a new option CISS_NO_INTERRUPT_HACK for driving ciss(4) by callouts.
...
This is intended as workaround for certain Xen issues with dom0 kernels
and will likely want to have a high HZ value as well for decent
performance.
2018-02-12 23:11:00 +00:00
jakllsch
3f96c239a8
Fix __siglongjmp14().
...
Fixes SIGINT causing ksh to "longjmp botch", presumably due to incorrect
magic number.
cvs: ----------------------------------------------------------------------
2018-02-12 22:31:04 +00:00
joerg
61efc2e9d5
Simplify and make the GCC check more precise at the same time.
2018-02-12 22:18:36 +00:00
sjg
9d28f87b89
Do not treat .info as warning for -W
...
Reported by: lwhsu at FreeBSD.org
2018-02-12 21:38:09 +00:00
adam
0f74ee8d8c
Fix building with MKGCC=no
2018-02-12 20:47:09 +00:00
ginsbach
78c930635f
Add CSDL
2018-02-12 20:43:17 +00:00
christos
c98f924910
Keep a pointer to the interface of the multicast membership, because the
...
multicast element itself might go away in in_delmulti (but the interface
can't because we hold the lock). From ozaki-r@
2018-02-12 18:19:12 +00:00
maxv
3450a3e906
Another missing NULL-check.
2018-02-12 17:04:58 +00:00
maxv
be4af2355f
m_free -> m_freem, otherwise leak
2018-02-12 17:01:22 +00:00
maxv
f51752b703
NULL-check after M_DONTWAIT.
2018-02-12 16:58:01 +00:00
maxv
b5bb909d12
Add a KASSERT; we expect *from to be a single mbuf (not chained).
2018-02-12 16:01:35 +00:00
maxv
b17a3c6e9a
Use m_freem instead of m_free. Otherwise we're leaking the next mbufs in
...
the chain.
2018-02-12 15:38:14 +00:00
maxv
42fdf13228
Replace bcopy -> memcpy when it is obvious that the areas don't overlap.
...
Rearrange ip6_splithdr() for clarity.
2018-02-12 12:52:12 +00:00
maxv
70018dfa34
Fix typo, and add a comment about MPLS.
2018-02-12 12:17:38 +00:00
martin
23e81d3280
Complete previous by complteley removing the _DIAGASSERT from memmove -
...
the accidental left over from previous fired on all legitimate calls
and caused PR bin/52986 and PR lib/52987.
2018-02-12 11:14:15 +00:00
mrg
64bc2bbf40
note GCC 6.4 import.
2018-02-12 10:37:50 +00:00
maxv
8753383eff
Don't rebase the pointers. 'm' is only allowed to become NULL (which
...
means 'processed').
2018-02-12 09:31:06 +00:00
maxv
f0c1a70d41
Remove unused argument from tcp_signature_getsav.
2018-02-12 08:22:26 +00:00
maxv
8e26d95487
Add a KASSERT.
2018-02-12 08:13:08 +00:00
maxv
94b728b57f
Remove the 'm' argument from syn_cache_respond(); all it does with it is
...
freeing it, so free in the caller instead.
2018-02-12 08:08:28 +00:00
maxv
9855a03edc
Remove this multicast check. Multicast packets are already dropped at
...
the beginning of the function.
2018-02-12 08:03:42 +00:00
christos
8ceb60ceb8
we need variables to be signed here.
2018-02-12 02:15:31 +00:00
jakllsch
db546b38aa
Wrap PowerPC #pragma goop in #if __GNUC_PREREQ__(6,0).
...
Our older GCC warns/errors on it.
2018-02-11 18:58:44 +00:00
christos
1938e572e4
Add obsolete lines for the gcc-5 and openssl-1.0 lines for systems that have
...
installed gcc-6 and openssl-1.1. Requested by wiz@
2018-02-11 16:45:35 +00:00
christos
ae5e37f8c6
PR/53008: Henning Petersen: Fix missing brace inside comment.
2018-02-11 15:56:25 +00:00
christos
441b9b1e3d
PR/53006: stackfield: Please support NVIDIA GT730 to kernel
2018-02-11 15:52:59 +00:00
wiz
9cc268cb7c
Add missing comma.
2018-02-11 14:17:24 +00:00
wiz
efc48405e0
Sort SEE ALSO.
2018-02-11 14:17:17 +00:00
wiz
6da3ad4c73
Remove Tn.
2018-02-11 14:15:14 +00:00
maya
0cca4bc316
Use bools with bool. NFCI.
...
From Henning Petersen in PR toolchain/53009.
(I completed for the rest of the function. Similar code exists in GCC trunk.)
2018-02-11 13:50:15 +00:00
wiz
08ce5afbfb
Remove Tn.
2018-02-11 13:31:17 +00:00
wiz
5742f479cd
Remove useless macros. Sort errors.
2018-02-11 13:30:55 +00:00
wiz
7f7561e0c4
Remove useless macro.
2018-02-11 13:28:49 +00:00
wiz
220a072a26
Remove Tn. Remove trailing whitespace. Remove useless Pp.
2018-02-11 13:28:26 +00:00