Age | Commit message (Collapse) | Author |
|
this relies on building the kernel with -msave-args, which has
functions save their register arguments on the stack, so ddb can
easily find them and print them.
while here try to print arguments out of registers if we're at the
top of the stack (ie, if we set a breakpoint on a function entry).
-msave-args is only added to the compiler flags if the kernel has
been configured with ddb. this means it wont waste the space on
RAMDISK kernels because they don't include ddb.
inspired by similar functionality that has been in use on solaris
and its derivatives for well over a decade.
ok deraadt@
|
|
avx512 and various xsave* instructions)
tested by many
|
|
When the initial state is set to DROPPING, the code immediately
jumps to a CONTROL state bypassing DROPPING. To fix this we start
with an explicit INITIAL state so that we do an INITIAL->DROPPING
transition right off the bat in the beginning of the loop and
then perform a DROPPING->CONTROL and either CONTROL->DROPPING and
restart the loop or CONTROL->RECOVERY/ACCEPTING and terminate.
|
|
64 bit integers on an 8 byte boundary such as armv7. MHLEN calculation
doesn't account for padding bytes inserted by the compiler after m_hdr.
Found the hard way by kettenis@.
|
|
such that "ifconfig dwge0 lladdr 00:11:22:33:44:55" actually works.
|
|
the GMAC found on the Allwinner A20/A31.
With this diff I can receive packets on the Firefly-RK3399. Unfortunately
sending packets doesn't seem to work yet.
|
|
|
|
properties in the /chosen node of the FDT. The properties match the ones
used by Linux (see Documentation/arm/uefi.txt in the Linux kernel source
tree) but with the "linux," prefix replaced by "openbsd,".
ok jmatthew@, tom@
|
|
|
|
also in the IPv6 case. This fixes "netstat -An -f inet6 -p tcp"
and shows 0x0.
report and OK dhill@
|
|
|
|
in ip6_input(). Do not check that again in the protocol input
functions.
OK mpi@
|
|
|
|
|
|
the function declaration of ipe4_input() and avoid a wrong cast.
OK mikeb@ dhill@
|
|
ok jsg@
|
|
Broadcom's Vulcan design with a Cavium implementer code
(ThunderX2 T99/CN99xx). Suggested by kettenis@
|
|
ok kettenis@
|
|
|
|
only the RK3399 is supported.
|
|
|
|
Reported by Remi Barbier, thanks! OK mpi@
|
|
the eMMC controller on the Rockchip RK3399 work.
|
|
the Rockchip RK3399.
- Make it possible to override sdhc_signal_voltage().
- Make it possible to disable double-data rate modes.
ok patrick@
|
|
ok jsg@, patrick@
|
|
|
|
|
|
mpi says a transfer can't exist without a pipe. ok mpi@
|
|
|
|
|
|
kernel. It was only used in IPsec sources. No binary change
OK deraadt@
|
|
Tested on linux and amd64 OpenBSD guests.
Posted to tech by Pratik Vyas.
|
|
the random subsystem as entropy. This value is pretty much unknown,
and anyways our entropy input ring does not saturate from knowns.
ok mikeb djm
|
|
|
|
ok patrick@
|
|
change the pointer. Then *mp keeps the invalid pointer and it might
be used. Fix the potential use after free and also reset *mp in
other places to have less dangling pointers to freed mbufs.
OK mpi@ mikeb@
|
|
The purpose of FQ-CoDel is to provide fair sharing of bandwidth
between simultaneous connections and reduce latency differences
among them.
OK mpi, sthen, visa
|
|
No binary change.
OK ratchov@
|
|
inline function instead of casting it to sockaddr. While there,
use inline instead of __inline for all these conversions. Some
struct sockaddr casts can be avoided completely.
OK dhill@ mpi@
|
|
problem with MLD packets being sent with hlim set to zero.
with suggestion from and ok bluhm@
|
|
instead of "device timeout". The latter is printed by the Tx watchdog already.
|
|
ok mpi@, deraadt@
|
|
ifq_mfreeml() is similar to the ifq_mfreem(), but takes an mbuf list
as an argument. This also lets these functions subtract the number
of packets to be disposed of from the ifq length.
OK dlg
|
|
adjust the comment to match reality (or at least rfc7323) instead.
This brings us back in line with the behavior of Net and Free.
From Lauri Tirkkonen. OK bluhm@
|
|
The precision of the timestamp is not fixed yet, but there's a strong
argument to measure it in nanoseconds.
With suggestions from kettenis, dlg, miod and deraadt.
OK deraadt@, sthen@
|
|
MBIM already uses network byte order for IP addresses, so just
use them as they are.
ok stsp@, deraadt@
|
|
When MIMO support was added several entries in the rate table index enum
got a wrong value. On most devices the firmware ended up using a Tx rate
different from the rate net80211 asked for (which is bad, but not fatal).
But on 3165 devices which do not support MIMO the firmware rightly raised
a fatal error whenever the driver mistakenly asked for a MIMO Tx rate.
Reported by Georgios Pediaditis, Steve Throckmorton, and Kai Wirt on misc@
Thanks to benno@ for providing 3165 hardware I could use to debug this.
|
|
previously it was zeroed memory from a global, which kind of looks
like a valid mutex, but we shouldnt rely on that.
ok kettenis@
|
|
parameter. This makes the ip6_setmoptions() function look more like the
ipv4 version and fixes a problem with IPV6_JOIN_GROUP when no interface
is specified.
ok bluhm@
|
|
Bombardieri" <mb@ii.net>.
|