258443 Commits

Author SHA1 Message Date
roy
f8583dbb8c Back out part of the prior commit where we added space for IPV6_HOPLIMIT
to the sending control message buffer.
That code never worked on ERLITE, so I elected to set socket options
instead but forgot to revert this part.
2018-04-24 18:31:48 +00:00
maya
a0726d2ee5 regen 2018-04-24 18:10:32 +00:00
maya
0cdc8d3cf3 add realtek RT525A PCI-E card reader
found in my Dell XPS 15 9550.
2018-04-24 18:08:56 +00:00
jakllsch
0e522444a9 In uvm_page_recolor(), kmem_free() old size rather than new size.
From Yaniv Abraham-Rabinovitch in PR kern/53208.
2018-04-24 16:35:53 +00:00
maxv
906d782918 Remove nullcheck, m is not allowed to be null. 2018-04-24 08:22:16 +00:00
maxv
da0a3b88c3 Change/Improve the comments, so that the definitions fit one line. 2018-04-24 08:10:32 +00:00
maxv
3e02f4fab8 Remove the M_AUTHIPDGM flag. It is equivalent to M_AUTHIPHDR, both
are set in IPsec-AH, and they are always handled together.
2018-04-24 08:07:05 +00:00
maxv
b5d4b113f7 Add code 3 of paramprob, part of RFC7112: "IPv6 First Fragment has
incomplete IPv6 Header Chain". Handle this code in ping6.
2018-04-24 07:22:32 +00:00
maxv
519a11ad08 Remove annoying (void) casts. 2018-04-24 07:12:04 +00:00
knakahara
30b0741c40 Fix sys/netinet/in.c:r1.229 problem. I have missed FALLTHROUGH, sorry. 2018-04-24 01:32:30 +00:00
joerg
5bd6bf38e4 Adjust Xsyscall_svs to not use movq for 64bit immediates either. 2018-04-23 22:53:04 +00:00
jdolecek
0adb3c0bc1 enable code to only trigger usb processing when EINT is set, to
avoid misinterpreting shared interrupt for another device

when clearing USBSTS, actually preserve the bits which spec requires to
preserve, and actually clear bit 1, which should be actually always
cleared to zero by spec

also #ifdef XHCI_DEBUG some unnecessary register reads

this should finally resolve PR kern/53066 also for Martin
2018-04-23 19:55:00 +00:00
maxv
d7a1d2ebf3 Clean up the IPsec ifdefs, same as ping6. 2018-04-23 18:59:03 +00:00
maxv
f025b20b34 Remove double include and unused macros. 2018-04-23 18:48:30 +00:00
maxv
f4598fe58b Remove the "-R" option. It uses IPV6_REACHCONF, but we've never had
this.
2018-04-23 18:44:39 +00:00
maxv
fa0be10b46 Fix usage(), A/E don't exist. 2018-04-23 18:37:19 +00:00
maxv
ed8f79525d Simplify: remove #ifdefs for constants that are always defined, and
remove their #else's (some of which can't compile, since they use values
that since got removed).
2018-04-23 18:32:18 +00:00
christos
ce1a532448 PR/kern/53202: Kernel hangs running t_ptrace_wait:resume1 test, revert
previous.
2018-04-23 15:51:00 +00:00
christos
2370736b4d PR/53206: David Binderman: fix array bounds comparison in KASSERT. 2018-04-23 15:40:33 +00:00
christos
b83c46adf8 PR/53207: David Binderman: Use logical and 2018-04-23 15:36:30 +00:00
christos
18c79e7799 Add "Xhandle*" interrupt handling. 2018-04-23 14:53:07 +00:00
maxv
a845eccede Remove dead/broken code, we want to favor RFC3542 over RFC2292. No
functional change. traceroute6 and rtadvd did the same.
2018-04-23 10:35:20 +00:00
maxv
b9ad8ce8f1 ... another occurrence of OLDRAWSOCKET ... 2018-04-23 10:23:38 +00:00
maxv
b279793f85 Remove dead code. 2018-04-23 10:22:18 +00:00
maxv
4953d3d3b9 Remove CPPFLAGS+=-DUSE_RFC3542, it's not used anymore. 2018-04-23 10:19:11 +00:00
maxv
11bf0879e5 Remove dead/broken code. We want to favor RFC3542 over RFC2292. No
functional change.
2018-04-23 10:14:12 +00:00
maxv
832b034324 Remove dead code. 2018-04-23 09:58:35 +00:00
maxv
6cf02a93b7 Remove now unused code. 2018-04-23 09:47:03 +00:00
wiz
da9f189127 Sort options. Sort option descriptions. Remove Tn.
Sync usage (more) with man page.
2018-04-23 07:25:36 +00:00
maxv
64956f36ba Remove the kernel RH0 code. RH0 is deprecated by RFC5095, for security
reasons. RH0 was already removed in the kernel's input path, but some
parts were still present in the output path: they are now removed.

Sent on tech-net@ a few days ago.
2018-04-23 07:22:54 +00:00
wiz
744b9e9d12 Remove -g from SYNOPSIS. 2018-04-23 07:13:50 +00:00
maxv
9948652569 Remove the "hops" parameter, it uses RH0, which is deprecated by RFC5095,
and doesn't work on modern networks anymore.
2018-04-23 06:51:25 +00:00
maxv
e65ec2be3d Remove the "-g" option, it uses RH0, which is deprecated by RFC5095, and
doesn't work on modern networks anymore.
2018-04-23 06:42:02 +00:00
msaitoh
6b2bbe1c2b - Backout if_wm.c rev.1.574 and print "device timeout (lost interrupt)"
when all descriptors in a queue are free. When all descriptors are free after
 wm_txeof(), it's caused by lost interrupt (though I've never seen it). One
 possibility is chip bug and another possibility is software bug. We should
 reset in any cases. If we don't reset and don't print error message, TX
 processing is done intermittently and user might not noticed the problem.

- Rename txq_watchdog to txq_sending to make the meaning clear.
2018-04-23 01:35:25 +00:00
msaitoh
d783b83a14 Count timeout correctly. This change reduce timeout value for 80003 as
expected. Reported by mouse@.
2018-04-23 01:29:23 +00:00
christos
abc532f391 merge duplicated code, back to logging error. 2018-04-22 20:32:27 +00:00
maxv
48c5ec192c Rename ipip_allow->ipip_spoofcheck, and add net.inet.ipsec.ipip_spoofcheck.
Makes it simpler, and also fixes PR/39919.
2018-04-22 10:25:40 +00:00
jdolecek
3996bedd21 trigger the softint processing on that child bus which is not detached yet
fixes PR kern/53066 by Martin Husemann
2018-04-22 07:47:14 +00:00
joerg
ad8ea1d746 Do not use movq for loading arbitrary 64bit immediates. The ISA
restricts it to 32bit immediates.
2018-04-21 23:25:01 +00:00
kre
e76b58b2db In uses like $(( var )) (un-dollared vars in arithmetic) we allow
leading whitespace in the value of var (because strtoimax() does)
but did not allow trailing whitespace.   The effect is that some
cases where $(( ${var:-0} )) would work do not work without the $
expansion.

Fix that - allow trailing whitespace.   However, continue to insist
upon at least one digit (a non-null var that contains nothing but
whitespace is still an error).

Note: posix is not helpful here, it simply requires that the variable
contain "a value that forms a valid integer constant" (with an optional
+ or - sign).
2018-04-21 23:01:29 +00:00
kre
d6d059edc2 PR bin/53201
Don't synerr on
	${var-anything
	more}

The newline in the middle of the var expansion is permitted.

Bug reported by Martijn Dekker from his modernish tests.

XXX pullup-8
2018-04-21 21:32:14 +00:00
kre
7fea2a9dfc Add a test case for PR bin/53201
Currently this test case will fail, a fix is coming soon (not worth
marking this as an expected failure.)

This test case and the initial bug report comes from
Martijn Dekker's modernish (shell/test set).
2018-04-21 21:28:35 +00:00
christos
230aa26942 we don't have mtab or rmtab 2018-04-21 18:34:08 +00:00
christos
d8a004726c downgrade error to debug. 2018-04-21 18:07:23 +00:00
jdolecek
1c4f101001 add KASSERT() that sc_child* is set to NULL after child detach; just for
readability, it's not immediatelly obvious this is done in xhci_childdet()

no functional changes
2018-04-21 15:53:24 +00:00
mlelstv
f3a7ac8991 Fix an ancient typo, instead of setting the base address, the size
value is written leaving the autoconf setting (-1) as the address.
The value is only used for printing an attach message, the actual
pcdisplay_init code uses hard coded base addresses again.
2018-04-21 15:10:28 +00:00
maxv
2b3801633e Remove #ifndef __vax__.
The check enforces a 4-byte-aligned size for the option mbuf. If the size
is not multiple of 4, the computation of ip_hl gets truncated in the
output path. There is no reason for this check not to be present on VAX.

While here add a KASSERT in ip_insertoptions to enforce the assumption.

Discussed briefly on tech-net@
2018-04-21 13:22:06 +00:00
wiz
c35bf49041 New sentence, new line. 2018-04-21 12:38:17 +00:00
wiz
7734da6b73 Minor improvements. 2018-04-21 09:31:08 +00:00
rin
2cb2455506 Remove unused variable since previous revision. 2018-04-21 08:30:19 +00:00