Age | Commit message (Collapse) | Author |
|
The kernel is not a password database; look your wifi keys up elsewhere.
Discussed with several.
ok phessler@ jca@
|
|
|
|
Based on a diff from mpi@.
ok guenther@, mpi@
|
|
This prevents a use-after-free reported by Hrvoje Popovski where the
timeout function was already sleeping on the NET_LOCK() when ifconfig(8)
removed the enry from the table.
By iterating on a global list in the timeout routine we ensure that the
items are still valid when we process them. This also reduce differences
with ARP.
ok bluhm@, visa@
|
|
input and ok mpi@
|
|
ok mpi@
|
|
From Klemens Nanni.
|
|
Tested by & diff from Donovan Watteau.
|
|
Previously the device tree only described one but now it describes both.
Do not attempt to set the global variable that points to a softc or
register a watchdog if this has already been done.
Fixes rebooting on the OMAP4 based PandaBoard-ES with a device tree from
linux 4.15-rc1.
|
|
Lenovo ThinkSystem RAID 530/930. The main differences are in fast path
IO, which we don't use, so all we have to deal with is some changes in the
raid context layout and different PCI BARs. The mfii_iop structure gets
rearranged a bit to accommodate these.
tested on a perc h740p and a h730 (by dlg@)
ok dlg@
|
|
|
|
|
|
|
|
sizes of edge areas, vertical edge areas as default, and a check for
the WSMOUSE_TYPE that may detect clickpads where software buttons
should be placed at the top edge).
|
|
|
|
instead of rolling its own now that it's been made available.
OK dlg
|
|
|
|
packets. Otherwise, a skosh of traffic may be handled using hardware
default settings. One of the consequences is that packets can end up
into a wrong POW group, causing a panic in cnmac_intr().
Panic reported by and testing help from Janne Johansson
|
|
to recognize if it has been booted via PXE. The new TFTP file system
layer will then use the matching PXE base code protocol handle to load
the files. Since this uses the PXE base code protocol for abstraction
instead of the raw Simple Network protocol this will at this point not
work on u-boot based machines as needed on ARM.
Feedback and ok tom@
Also tested by afresh1@
|
|
i had a diff that did a small change to replace
ifq_deq_begin/commit/rollback with ifq_dequeue, and Eduard Nicodei
tweaked it a bit with Artturi Alm to use the fifo registers properly
and bump the ifq len.
the latter changes improve performance significantly.
"if you think that diff is correct, commit it" kettenis@
|
|
if you're trying to free something that a timeout is using, you
have to wait for that timeout to finish running before doing the
free. timeout_del can stop a timeout from running in the future,
but it doesn't know if a timeout has finished being scheduled and
is now running.
previously you could know that timeouts are not running by simply
masking softclock interrupts on the cpu running the kernel. however,
code is now running outside the kernel lock, and timeouts can run
in a thread instead of softclock.
timeout_barrier solves the first problem by taking the kernel lock
and then masking softclock interrupts. that is enough to ensure
that any further timeout processing is waiting for those resources
to run again.
the second problem is solved by having timeout_barrier insert work
into the thread. when that work runs, that means all previous work
running in that thread has completed.
fixes and ok visa@, who thinks this will be useful for his work
too.
|
|
that identify and mask touches resting in the bottom area.
|
|
mp-safe.
ok bluhm@, visa@
|
|
KERNEL_LOCK(), so change asserts accordingly.
This is now possible since sblock()/sbunlock() are always called with
the socket lock held.
ok bluhm@, visa@
|
|
They have the same functionnality since friehm@ cleaned up
balancing code.
ok florian@, visa@, patrick@, bluhm@, jmatthew@
|
|
whether the device is started before using structures shared with the
interrupt handler. From Michael W. Bombardieri, tested by me.
|
|
ok deraadt@, patrick@
|
|
forwarding. It should never match and would cause MP locking
problems. While there remove an useless ifp parameter from
ip_output_ipsec_send().
from markus@; OK visa@ sashan@
|
|
interface index.
This assumption is true for the moment iff the route lookup *and* the
if_get() are done under KERNEL_LOCK(). This is not the case here.
Found the hardway by Hrvoje Popovski.
ok florian@, visa@, bluhm@
|
|
to make it symmetric to the addrhook establish which is being done in
carp_clone_create(). This fixes the issue that carp does not recognize
address changes on the carp after an interface has detached, which could
cause issues like carp not recovering or even panics. Unfortunately
there are more bugs lurking in carp.
ok bluhm@
|
|
From Artturi Alm.
|
|
Not tested with the hardware.
|
|
Prompted by Justin Hibbits
|
|
Stop pretending that we will migrate the content of this file to
if_etherip.h. Those declarations are needed by userland, and it's
easier to keep them in netinet/ip_ether.h. ok visa@
|
|
ok bluhm@
|
|
This will allows us to get rid of the list.
ok visa@
|
|
pr_input handlers without KERNEL_LOCK().
ok visa@
|
|
a DOWN interface.
ok visa@
|
|
As soon as the interface will be brough UP, its device driver will
recognize it has the IFF_PROMISC flag and will configure its filters
accordingly.
ok visa@
|
|
Allwinner A10/A20.
|
|
A lot of randomness event producers are executed in the interrupt
context increasing the time spent in the interrupt handler resulting
in extra costs when adding randomness data to the pool. However, in
practice randomness event producers require interlocking between each
other, but not with with consumers due to the opportunistic nature of
event consumers.
To be able to take advantage of this idea, the ring buffer indexing
is now done with two free running producer and consumer counters modulo
power of 2 size of the ring buffer.
With input from and OK visa, tb, jasper
|
|
The architectures have been using the MI mplock for a while.
OK deraadt@, kettenis@
|
|
ok jsg@
|
|
|
|
in many other NIC drivers. This reduces submission overhead.
|
|
ok jsg@
|
|
a layer of abstraction that would complicate upcoming changes.
|
|
This is now possible because each port has a dedicated work queue
interrupt.
|
|
This also makes the code a bit less noisy to read.
|
|
From Justin Hibbits, thanks!
|