Age | Commit message (Collapse) | Author |
|
ok jcs@
|
|
ok deraadt@
|
|
indicating a warm reset has happened. Communicate this as UPS_C_BH_PORT_RESET
to the upper layers and make uhub(4) clear this bit such that we receive
further connection status change notifications. Make sure we only do this
for super speed (USB 3.0) hubs as high speed (USB 2.0) hubs use the same bit
for UPS_C_PORT_L1.
Make hotplugging USB 3.0 devices work on my MacBookPro12,1.
ok mpi@
|
|
speed ports may have the XHCI_PS_PRC bit set after xhci(4) attaches. Just
clearing this bit isn't enough though, since the device is already connected
and no further connection status change is signalled. So fake one.
This makes the integrated SD card reader in the MacBookPro12,1 attach.
ok mpi@
|
|
to a SRP list.
This turns the rtable_* layer mpsafe. We now only need to protect the
ART implementation itself.
Note that route(8) regress tests will now fail due to a supplementary
reference taken by the SRPL_INIT(9) API.
ok dlg@
|
|
ok yasuoka@
|
|
While here fix a NULL dereference introduced by the support for
multiple rdomains. It seems that this code path is never run...
With input from David Hill, ok florian@
|
|
layer will be turned mpsafe. We're not there yet.
Reported by David Hill, ok florian@
|
|
the device node (since it does not exist...)
|
|
relayd and other programs manipulating the packet filter.
ok deraadt@
|
|
if the chip needs coalesced packages in tx, set the tx dmamaps up
to only use a single dma descriptor. use m_defrag when bus_dmamap_load_mbuf
returns EFBIG rather than copying the packet to a separate mbuf
with hand rolled code in dc_coal. that in turn makes the ifq_deq_begin,
ifq_deq_commit, and ifq_deq_rollback handling more straightforward.
tested by me on a hppa a180c with a "DEC 21142/3", and fred on bugs@
with a sparc64 netra x1 "Davicom DM9102".
|
|
for a GPT protective MBR. Better than mangling findopenbsd() to do
the check.
Tested & ok yasuoka@
|
|
ok mpi@
|
|
pointer to the parent "pppoedev", it now only stores an interface
index. This also fixes a potential NULL pointer dereference that
could happen in pppoe_find_softc_by_session() when the parent got
deconfigured but the session was still active.
Found the hard way with pppoe(4) on vlan7.
OK mpi@, with debugging help from mikeb@
|
|
then relayd's host check engine can be pledged.
ok reyk@, approach suggested by deraadt@ weeks ago.
|
|
ok reyk mpi
|
|
|
|
|
|
test and ok gonzalo
|
|
dequeueing a packet, then drop the packet if it can't be sent, rather than
using two phase dequeue then commit.
Adjust sc_tx_cnt using atomic operations, take the kernel lock before
calling gem_start or gem_init from the interrupt handler, and use an
interrupt barrier when taking the interface down.
With all this done, we can mark the interrupt handler for pci (but not sbus)
attached gem(4) as mpsafe.
mpi@ wrote this initially, I fixed bugs to keep sparc64 happy and kept it up
to date with ifq changes.
ok mpi@ dlg@
|
|
Committing on behalf of tb@, problem reported by Rolf Sommerhalder on misc@.
|
|
<net/if_vxlan.h> is included.
|
|
PMAP_CANFAIL flag is set. Return ENOMEM instead.
|
|
the system firmware.
|
|
|
|
and kill rtable_put() because we're not going to use it.
The overhead of keeping a "struct art_root/radix_node_head" around is
very small compared to the added complexity needed to reference count
such structures.
|
|
with SRPs.
This is a simplified version of the dynamically sizeable array of
pointers used by if_get() because routing table heads are never
freed.
ok dlg@
|
|
|
|
|
|
|
|
ok stsp@
|
|
if the setting mode is failed.
reported and tested by Joe Gidi
|
|
multipath route entries mpsafe.
ok dlg@
|
|
|
|
This simplifies the if_get()/if_put() dance.
Tested by jasper@
|
|
ok mlarkin@
|
|
last VM is terminated. This allows to remove the explicit "vmm
enable" / "vmm disable" (VMM_IOC_START / VMM_IOC_STOP) ioctls. You'll
have to update kernel and userland for this change, as the kernel ABI
changes.
OK mpi@ mlarkin@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
there are two things shared between the network stack and drivers
in the send path: the send queue and the IFF_OACTIVE flag. the send
queue is now protected by a mutex. this diff makes the oactive
functionality mpsafe too.
IFF_OACTIVE is part of if_flags. there are two problems with that.
firstly, if_flags is a short and we dont have any MI atomic operations
to manipulate a short. secondly, while we could make the IFF_OACTIVE
operates mpsafe, all changes to other flags would have to be made
safe at the same time, otherwise a read-modify-write cycle on their
updates could clobber the oactive change.
instead, this moves the oactive mark into struct ifqueue and provides
an API for changing it. there's ifq_set_oactive, ifq_clr_oactive,
and ifq_is_oactive. these are modelled on ifsq_set_oactive,
ifsq_clr_oactive, and ifsq_is_oactive in dragonflybsd.
this diff includes changes to all the drivers manipulating IFF_OACTIVE
to now use the ifsq_{set,clr_is}_oactive API too.
ok kettenis@ mpi@ jmatthew@ deraadt@
|
|
LOG_CONS. If syslogd is not accepting messages, direct them to the console.
This allows us to remove the direct /dev/console opening code from the
bowels of libc. Of course, that forgotten code was exposed by pledge.
ok kettenis millert beck
|
|
|
|
passing LOG_CONS
ok millert kettenis beck
|
|
|
|
From Bryan Vyhmeister.
|