Age | Commit message (Collapse) | Author |
|
coherent with the rest of the allocations.
While here report the correct errno if an allocation fails.
ok mlarkin@
|
|
or a VM in an iteration, check against NULL.
ok mlarkin@
|
|
Should help with the possible hang when trying to create a VM when
the host is out of memory. It also improves coherency as all the
allocations in vmm(4) are done without sleeping.
ok mlarkin@
|
|
ok mlarkin@
|
|
ok reyk@, mlarkin@
|
|
Should prevent a NULL dereference when initializing VM.
ok mlarkin@
|
|
ifa->ifa_addr must not be NULL when an ifa is on a per-interface list of
addresses.
ok bluhm@, sthen@, benno@, millert@
|
|
|
|
|
|
discussed with jsg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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@
|
|
|