Age | Commit message (Collapse) | Author |
|
ok millert@
|
|
adjtimedelta is 64-bit and thus can't be read/written atomically on all
architectures. Because it can be modified from tc_windup() and
ntp_update_second() we need a way to ensure safe reads/writes for
adjtime(2) callers. One solution is to move it into the timehands and
adopt the lockless read protocol we now use for the system boot time and
uptime.
So make new_adjtimedelta an argument to tc_windup() and add a lockless
read loop to tc_adjtime(). With adjtimedelta stored in the timehands
we can now simply pass a timehands pointer to ntp_update_second(). This
makes ntp_update_second() safer as we're using the timehands' timecounter
pointer instead of the mutable global timecounter pointer.
Lots of input from mpi@ and visa@.
ok visa@
|
|
same as the original code
- Merge FreeBSD's r304574
Correct DMA channel number selection on AR816x family of
controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
except L1D controller, use vendor recommended ASPM parameters.
While here, increase alc_dma_burst array size. Broken H/W can
return bogus value in theory
From Brad.
|
|
of WIP escaped into the wild and broke parsing of domain-search.
Reported by Greg Steuck and Raf Czlonka. Fix tested by Greg.
|
|
This will make upcoming MP-related diffs smaller and should make the code
int kern_tc.c easier to read in general. "windup_mtx" is also a better
mnemonic: always call tc_windup() before leaving windup_mtx.
|
|
Some of the flag and oactive handling bits and alc_stop_queue() were
mismerged.
Pointed out by Brad, thanks!
|
|
In OpenBSD's case, we know it has optimal entropy properties,
so just say so.
okay mikeb@, "why not" deraadt@
|
|
|
|
from weerd@, ok phessler
|
|
|
|
|
|
|
|
|
|
|
|
We still want to log other causes when failing to open the lease file,
but then do so with a more helpful error message.
ok florian@
|
|
|
|
reminded by okan@.
|
|
Based on FreeBSD via Genadijus Paleckis on tech@, some modifications by me.
Tested with Atheros Killer E2200.
|
|
no objections from deraadt, ok millert
|
|
i misread the doco, having promisc vlan reception is what we want.
|
|
the main change is to not run ixl_atq_done, cos the interrupt handler
is supposed to do that for us.
|
|
there's a bit in the flags field that the firmware sets when the
command is done, so check to decide if the command is ready to be
completed. this in turn makes ixl_iff work.
"oh" jmatthew@
|
|
From Andy Bradford
|
|
|
|
ok jmc@
|
|
|
|
|
|
|
|
in. This fixes the case where one would be in a non default rdomain shell then
run an rdomain 0 rc.d daemon.
reported by YASUOKA Masahiko and Pierre Emeriaud
ok sthen@ claudio@ benno@
|
|
still under a free license, tweaked by me
|
|
|
|
The algorithm is insecure and yet its description would spread over
three paragraphs in the cipher list, including remarkable advice
like using a 40 bit key length.
|
|
this moves a large number of functions out of the way that are no
longer the latest and greatest. Also mention a few that were missing.
|
|
the doco says vlan things should only be set if you're manipulating
something on a specific vlan, otherwise the config applies to
everything, which is how the stack wants things to work at the
moment.
there's still something wrong in here, but let's get this out of
the way first.
|
|
cleandir, obj. Eliminates a X11 keyboard problem seen by claudio@
during make build.
OK anton@ deraadt@
|
|
previously events were queued on an SLIST, but multiple link state
events could fire with the same callback. this corrupted the SLIST
and effectively caused an infinite loop.
ok jmatthew@
|
|
that are also documented in OpenSSL 1.1.1 (still under a free license)
|
|
lines; Found while investigating a diff from Michal Koc; ok kn@
|
|
|
|
in r1.28 when the AES ciphers were split into their own manual.
|
|
it would be so much easier.
|
|
Zap insidious trailing space.
|
|
from Kurt Mosiejczuk
ok kn@
|
|
the option data cannot be prepended or appended to. Instead, treat
"prepend" as "supersede" and "append" as "default". This preserves the
safe aspects of current behaviour. Issue a parsing warning when
appropriate to encourage people to fix their configuration files.
Eliminate egregious repeated code by abstracting merge_option_data().
|
|
packet in their payload that matches an exiting connection. It was
not checked whether the outer ICMP packet has the same destination
IP as the source IP of the inner protocol packet. Enforce that
these addresses match, to prevent ICMP packets that do not make
sense.
Issue found by Nicolas Collignon, Corentin Bayet, Eloi Vanderbeken,
Luca Moro at Synacktiv.com
OK sashan@
|
|
offset into the entire history before reflow and restoring it aftewards.
|
|
okay tb@
|
|
|
|
|
|
|