Age | Commit message (Collapse) | Author |
|
softnet assert failures. It is better to place the lock into
net_sysctl() where all the protocol sysctls are called via pr_sysctl.
As calling sysctl(2) is in the slow path, doing fine grained locking
has no benefit. Many sysctl cases copy out a struct. Having a
lock around that keeps the struct consistent. Put assertions in
the protocol sysctls that need it.
OK mpi@
|
|
factor calls to mtx_leave() before returning. From Michael
W. Bombardieri <mb at ii.net>. Thanks!
|
|
|
|
auvia(4). From Michael W. Bombardieri <mb at ii.net>. Thanks.
|
|
routine. From Michael W. Bombardieri <mb at ii.net>. Thanks!
|
|
Thanks.
|
|
not recursive.
This is temporary until all recursions are found and can be addressed
in a correct way.
With inputs from bluhm@
|
|
While here remove two redundant splsoftnet()/splx() dances.
inputs and ok bluhm@
|
|
ok mikeb@, bluhm@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
It is time for this legacy of WEP to die (remember WEP?).
The 802.11-2012 standard says:
The use of TKIP is deprecated. The TKIP algorithm is unsuitable for
the purposes of this standard.
TKIP has numerous problems. One of which is that TKIP allows a denial of
service attack which can be triggered by any client. Report 2 Michael MIC
failures to a TKIP AP to trigger "TKIP countermeasures". The AP is now
required by the 802.11 standard to lock everyone out for at least 60 seconds.
The network will remain unusable for as long as such MIC failure reports
are sent twice per minute.
TKIP remains available for interoperability purposes, for now.
It must be enabled manually with ifconfig(8).
Prompted by discussion with Mathy Vanhoef.
ok deraadt@ sthen@ reyk@
|
|
|
|
ok rzalamena@
|
|
ok krw@ kettenis@
|
|
that the generation number increment is written before the function
returns and anything else is written.
OK patrick@ mpi@ dlg@
|
|
this way we save doing big tables walk and iterating tables that we don't
need to.
ok mpi@
|
|
has IPL_SOFTNET as ipl.
ok mikeb@, kettenis@
|
|
ok reyk@
|
|
forgiving than gas and insists that we use a 64-bit integer. No binary
change.
ok mlarkin@
|
|
|
|
We're installing watches on all nodes under "device/" and re-scan
the subtree every time the watch is triggered looking for changes
in the output. Tested with xnf(4) and xbf(4), helpful hints from
Roger Pau Monne, thanks!
|
|
assembler is a bit tricky. It supports the .code16, .code32 and
.code64 directives. But it doesn't know about the data16/data32 and
addr16/addr32 instruction prefixes. Instead it tries to determine
those from the instruction opcode. It mostly succeeds, but there are
a couple of corner cases where clang will generate the "addr32" form
where gas generates the "addr16" form in .code16 segments. That
should be no problem (and just waste a couple of bytes), but it makes
comparing the generated code a bit difficult.
Allow the trampoline code to be compiled with both. For clang #define
away the addr32 prefix and avoid using the data32 prefix by using a
mnemonic that explicitly encodes the size of the operand. Add a few
addr32 prefixes in .code16 blocks to reduce the differences between
code generated by clang and gas.
ok patrick@, deraadt@, mlarkin@
|
|
|
|
|
|
ok bluhm@
|
|
recursively.
ok bluhm@
|
|
ok bluhm@
|
|
ok bluhm@
|
|
ok mpi@
|
|
it is called at IPL_SOFTNET.
|
|
added to the interface address list, but the local route is missing.
This inconsistency could result in a "ifa == rt->rt_ifa" assertion
panic later. So in case of a route add error, remove the interface
address to get a consistent state again.
OK stsp@ mpi@
|
|
already. This means for example dropping -Wno-format or adding -g
by default.
Prompted by jsg@
|
|
Found by and input from jsg@
|
|
domains. This is one step towards supporting to run more than one multicast
socket in different domains at the same time.
ok mpi@
|
|
of the network stack that are not yet ready to be executed in parallel or
where new sleeping points are not possible.
This first pass replace all the entry points leading to ip_output(). This
is done to not introduce new sleeping points when trying to acquire ART's
write lock, needed when a new L2 entry is created via the RT_RESOLVE.
Inputs from and ok bluhm@, ok dlg@
|
|
ok patrick@
|
|
ok patrick@
|
|
|
|
ok patrick@
|
|
considering we don't have a separate iobus and the a4x iobus wasn't
even compiled it does not make sense to declare those in iobus.
Improves code readability as well.
|
|
struct proc. Also bump the printf of "code" to %ld and remove a few
casts to long as register_t is always long.
ok kettenis@
|
|
to (unsigned long) to match %lu formats. Makes gcc happier and
quieter.
ok deraadt@
|
|
revision.
Prompted by mikeb@.
|
|
ok jca@ (a while back)
|
|
revision. While there, update a few of those files.
Prompted by mikeb@.
|
|
ok millert@
|
|
we're not in 11n mode. This will allow tcpdump to show the mode correctly.
ok mpi@
|
|
Waiting more time does not buy us anything and makes a denial of service
a tiny bit easier.
Suggested by Mathy Vanhoef.
|
|
This commit contains all the kernel files related to the OpenBSD/arm64
port. It is based on the PowerPC pmap, loongson, arm/armv7 code and
FreeBSD aarch64 code. Hard work done by Dale Rahn.
|