| Commit message (Collapse) | Author | Files | Lines |
|
that's not readily available otherwise.
|
|
tested by naddy@
|
|
trying to align partitions to size <= 0 or past the
end of the disk. Emit error message in this case as
in other align errors.
Looks good to otto@.
|
|
Left-over from pre-host_ip() times. While here, use __func__.
OK henning benno
|
|
|
|
this change adds a pf_state_lock rw-lock, which protects consistency
of state table in PF. The code delivered in this change is guarded
by 'WITH_PF_LOCK', which is still undefined. People, who are willing
to experiment and want to run it must do two things:
- compile kernel with -DWITH_PF_LOCK
- bump NET_TASKQ from 1 to ... sky is the limit,
(just select some sensible value for number of tasks your
system is able to handle)
OK bluhm@
|
|
though amd only provides public redistributable updates for >= family 10h.
|
|
fix from Avi Halachmi.
|
|
While here, minor cleanup on logging.
|
|
vmctl create now takes an optional disk format parameter: raw or qcow2.
If format is omitted, raw is used.
Many thanks to Ori Bernstein.
|
|
OK stsp@
|
|
Except for networks such as "10/8" host_ip() now handles addresses in an
AF-agnostic way with more duplicate code removed/merged.
OK sashan (as for earlier copy_satopfaddr() diff) henning
|
|
|
|
|
|
Found by beck@, tested and ok by bluhm@
|
|
so we can let go if_cloners_lock.
OK tb@, claudio@, bluhm@, kn@, henning@
|
|
Move the same dance around v4/v6 for copying IP addresses from sockaddr
into pf_addr to avoid duplicate code and improve readability.
Feedback and OK bluhm
|
|
put the algorithm into a new function m_calchdrlen(). Also set an
uninitialized m_len to 0 in NFS code.
OK claudio@
|
|
rdomain case leading to locking issues and lots of headscratching. turns out
the only case where if_setrdomain could actually create an rdomain and thus
end up with that pattern is the ioctl path.
make if_setrdomain never create an rdomain, return error if it doesn't exist
already, introduce if_createrdomain, and adjust the ioctl path to use it.
ok sashan bluhm claudio
|
|
flight that can possibly match. there is a tiny but existing chance that
a sequence number matches w/ our hash and we'd end up dropping traffic.
unclear whether that has actually happened since the report chain is long :)
report via haesbert via bluhm; ok bluhm
|
|
|
|
|
|
|
|
in switchd(8).
OK henning@ bluhm@
|
|
OK claudio@
|
|
|
|
created. Add a new function m_removehdr() do convert packet header
mbufs within the chain to regular mbufs. Assert that the mbuf at
the beginning of the chain has a packet header.
found by Maxime Villard in NetBSD; from markus@; OK claudio@
|
|
|
|
a global limit of 1024 fragments, but it is fine grained to the
region of the packet. Smaller packets may have less fragments.
This costs another 16 bytes of memory per reassembly and devides
the worst case for searching by 8.
requestd by claudio@; OK sashan@ claudio@
|
|
source == NULL, avoiding a possible crash introduced yesterday.
ok claudio@
|
|
the list.
makes /etc/netstart very fast when ran while the interface is up
OK stsp@
|
|
|
|
|
|
properly initialized with -1. Also avoid closing -1.
OK mlarkin@
|
|
proc_init(). As a consequence vmd(8) child processes did not detach
from the terminal anymore. Dup /dev/null to the stdio file descriptors
in the children.
OK mlarkin@ reyk@
|
|
found with and OK stsp@
|
|
|
|
OK phessler@
|
|
pointed out by stsp@
|
|
to switch to.
pointed out by stsp@
|
|
|
|
|
|
media setting.
tested by and ok ccardenas@
|
|
so we get a usable list of media types to pick from.
tested by and ok ccardenas@
|
|
|
|
if activating for the current thread and meltdown mitigations are in effect.
Not clear if it's actually possible to hit the case where this matters,
but it's the Right Thing.
ok mlarkin@
|
|
as this code isn't present in those page tables
ok mlarkin@
|
|
iretq instruction used when Meltdown mitigation is effect. It got
pushed off when an lfence was added in locore.S rev 1.107, resulting
in two signals being sent instead of one when iretq faulted, and
neither signal had the correct sigcontext info. Update the makefile
rule for locore.o to verify that things are correct.
ok mlarkin@
|
|
INV{EPT,VPID,PCID}
ok mlarkin@
|
|
|