Age | Commit message (Collapse) | Author |
|
|
|
parent that doesnt offload the tag insertion, we need to chop the
vlan subheader out before the filter is run, not after.
this moves the mbuf surgery out from the bpf layer into the vlan
layer.
ok henning@ jmatthew@
|
|
otherwise the high bit of AP will end up in TEX.
|
|
it does not need to be protected by splnet().
Rafael Zalamena agrees, no objection from the MPLS gang.
|
|
raise it inside their ioctl handler (except for carp(4), what else?).
In general, global structures manipulated in the softnet codepath only
require a splsoftnet() protection when they are modified in process
(ioctl) context.
Also put some IPL_SOFNET asserts in functions accessing global structures.
Previous version diff ok mikeb@, with inputs from and ok bluhm@
|
|
by Patrick Wildt who made a similiar change in Bitrig.
ok miod@ rapha@
|
|
ok doug@ jsing@
|
|
need to do it in ec_copy_parameters() prior to invoking EC_KEY_set_group().
ok doug@ jsing@
|
|
|
|
Similarly, print them by casting to long long and using %lld.
ok otto@
|
|
evsignal_info does not change, so no library crank.
OK nicm@ deraadt@
|
|
With the current implementation, when accessing an inactive pmap, its
ptes are mapped in the APTE range. This has the problem that the APTE
range is mapped on all CPUs and changes to the APTE must therefore be
followed by a remote TLB flush on all CPUs. This is very inefficient
because the costs increase quadratically with the number of CPUs.
Therefore, the code is changed to remove the APTE mechanism completely
and instead switch the pmap locally. A remote TLB flush is then only
done if the pmap is in use on the remote CPU. In the common case, this
will replace one TLB flush on all CPUs with two local TLB flushes.
An additional optimization is done in cases where only a single PTE of
an inactive pmap is accessed: The requested PTE is found by walking the
page tables manually via the direct mapping. This makes some more TLB
flushes unnecessary.
Furthermore, some code is reordered so that the TLB-shootdown-IPIs are
sent first, then more local processing takes place, and only afterwards
the CPU waits for the remote TLB-shootdowns to finish.
This diff is based on a patch for i386 by Artur Grabowski <art blahonga org>
from 2008. Some additional bits were taken from a different patch by
Artur from 2005.
Tested by many. OK mlarkin@
|
|
the sigprocmask(2) protection is not necessary and can be removed.
OK nicm@ deraadt@
|
|
in a group of option letters), do not silently ignore the syntax error
and do something undefined, but instead error out properly.
Found because miod@ said "read the code" (not to me, though).
ok doug@
|
|
certificate, do not perform wildcard matching.
Suggested by Richard Moore (rich@kde)
ok tedu@
|
|
at least a domain label before the tld, as in *.example.org.
Suggested by Richard Moore (rich@kde)
ok tedu@
|
|
ok miod@
|
|
|
|
|
|
select(2) is used by syslogd.
|
|
X509_PURPOSE object (obtained with X509_PURPOSE_get0() instead of being
allocated in the function) to be freed if modifying that object would fail
due to a low memory condition, while this object would still be referenced
elsewhere.
Fix this by only cleaning the object if we did not allocate it here.
While there, fail early if either `name' or `sname' are NULL, rather than
allocating an object and realizing we have nothing to strdup() into it.
ok guenther@
|
|
if it fails, free the object we were about to push.
Factor error handling to avoid having four copies of about the same code.
ok guenther@
|
|
on a stack; if the latter fails, we need to free the object before returning
failure.
ok guenther@
|
|
ok guenther@
|
|
Tweaks and ok guenther@
|
|
ok deraadt@ guenther@
|
|
ok deraadt@ guenther@
|
|
test and OK nicm@; OK henning@
|
|
|
|
ok miod
|
|
ssl_add_clienthello_tlsext() and ssl_add_serverhello_tlsext(), rather than
the current generic naming.
ok miod@
|
|
hand rolling the same code.
ok miod@
|
|
return the client format list if the client_formats flag is specified.
Use tls1_get_formatlist()/tls1_get_curvelist() in tls1_check_ec_key(),
simplifying the code.
ok miod@
|
|
transfer. While here remove/fix other XXXs.
|
|
error. Makes Intel Series 7 controllers happy and no longer report an
illegal context state transition when detaching devices.
|
|
2 spc(4/luna88k)'s share the same level 3 interrupt on LUNA-88K2. So
returns earlier when the device is not the source of interrupt.
NetBSD has the same code.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/mb89352.c#rev1.34
"it is the right thing to do" miod@
|
|
|
|
no binary change
|
|
no binary change.
|
|
on the 'comp' set. Moving from xenocara with a new name.
ok deraadt@.
|
|
this hack in the drivers that need it.
Tested by many, thanks! ok pirofti@, kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
- Recognize some more revs of the EC U and Supreme chipsets.
- Add the PCI id for the Yukon 88E8079.
ok jsg@
|
|
-Wstack-larger-than-. This is what modern GCC supports as well as LLVM.
ok miod@
|
|
possible :portnumber suffix.
Noticed by ajacoutot@
ok ajacoutot@ deraadt@
|
|
it to the stack when a Short Transfer condition is reported.
In this dummy implementation the ``Event Data TRB'' of a read control
transfer is the only TRB that can trigger an interrupt without being
the last TRB of a transfer. This is done in order to report the
remaining length of a short transfer. But when that happens, we want
to wait until all Transfer TRBs are completed before passing the xfer
to the stack.
Note that clearing the ISP and IOC flags in all Transfer TRBs like it
is specified in 4.10.1.1.1 might not work in our cases because the HC
has most of the time already processed all Transfer TRBs when the driver
dequeues the events in the softinterrupt path.
While here, use the right spl protection when aborting a xfer.
|