Remove net lock from TCP syn cache sysctl.
TCP syn cache is protected by mutex. Make access to its sysctl
variables either atomic or put them into this mutex. Then net lock
can be removed.
OK mvs@
The fixed version of previously reverted tcp(4) sockets unsplicing.
Rework sorele(), sofree() and soclose() to follow closef(), fdrop() and
FRELE() way. This version of sofree() never sleeps, but calls sorele()
after finished it's part of destruction. sorele() destroys socket if
the last reference was released.
As previously, timeout(9) and task(9) reinitialization was replaced by
barriers and moved to soclose(), so the only sleep points are common for
all socket types.
Tests and ok from bluhm.
All the device and file type ioctl routines just ignore FIONBIO,
so stop calling down into those layer from fcntl(F_SETFL) or
ioctl(FIONBIO) and delete the "do nothing for this" stubs in all
the *ioctl routines.
ok dlg@
drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update
From Michel Daenzer
c226b0f0d8b00e26a4460260389150a74899b7bc in linux-6.6.y/6.6.68
85230ee36d88e7a09fb062d43203035659dd10a5 in mainline linux
drm/amdgpu: don't access invalid sched
From Pierre-Eric Pelloux-Prayer
da6b2c626ae73c303378ce9eaf6e3eaf16c9925a in linux-6.6.y/6.6.68
a93b1020eb9386d7da11608477121b10079c076a in mainline linux
i915/guc: Accumulate active runtime on gt reset
From Umesh Nerlige Ramappa
b91184b5943779f992294b59434e6eb9324fa2fc in linux-6.6.y/6.6.68
1622ed27d26ab4c234476be746aa55bcd39159dd in mainline linux
i915/guc: Ensure busyness counter increases motonically
From Umesh Nerlige Ramappa
7871b0d81a3bbe3bec6d2c46992ae5c46b610fe1 in linux-6.6.y/6.6.68
59a0b46788d58fdcee8d2f6b4e619d264a1799bf in mainline linux
i915/guc: Reset engine utilization buffer before registration
From Umesh Nerlige Ramappa
b5e8103c46aa3f5bad8d9ab3727608ac1d7faa68 in linux-6.6.y/6.6.68
abcc2ddae5f82aa6cfca162e3db643dd33f0a2e8 in mainline linux
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
From Ville Syrjala
b39de5a71bac5641d0fda33d1cf5682d82cf1ae5 in linux-6.6.y/6.6.68
9398332f23fab10c5ec57c168b44e72997d6318e in mainline linux
sys/uvideo: fill v4l2_capability the right way
Some V4L consumers, such as libwebrtc (used by Firefox), rely on
bus_info to identify the desired webcam.
Our current logic, which uses a hardcoded string, causes Firefox to
always select /dev/video0. As a result, switching to another webcam does
not work.
OK: mglocker@
scapy 2.4.5 no longer supports send() to OpenBSD loopback interface.
With older 2.4.4 it worked with IPv4, but was broken for IPv6. So
use the IPv6 workaround also for IPv4. Prepend the address family
in front of the IP packet and use sendp() to insert it into loopback
interface.
Prefer the constants EVP_CTRL_AEAD_* over EVP_CTRL_CCM_* and EVP_CTRL_GCM_*
because that's what OpenSSL 1.1 suggests. Even though that "unification"
doesn't really simplify anything but is more akin to repainting the bikeshed,
at least it doesn't cause any additional harm, so keeping recommendations
consistent may reduce the risk of code breaking in the future.
Provide an example of decryption with AES-CCM in addition to the
example of encryption already in place, because there are a number
of subtle and non-obvious differences that users have to pay
attention to.
Both ideas originally suggested by tb@.
Unlock KERN_NOSUIDCOREDUMP.
`nosuidcoredump' is atomically accessed integer. coredump() reads it
multiple times, so cache value to `nosuidcoredump_local'.
ok bluhm
Remove flags argument from obj_bsearch_ex()
The only caller passes in OBJ_BSEARCH_FIRST_VALUE_ON_MATCH, so the
condition involving this flag is always true. On the other hand,
while OBJ_BSEARCh_VALUE_ON_NOMATCH is left unset hence the condition
involving this flag is also true (since negated).
ok jsing
Document X509V3_ADD_OP_MASK and clarify the description of the flags argument.
While here, also add a (c) line for tb@ because he added Copyright-worthy
amounts of text to this page during the last two years.
Document X509_supported_extension(3).
The sentence about X509_EXTENSION_get_critical(3) in the DESCRIPTION
contained broken grammar or at least broken punctuation, and more
importantly, redundant and misplaced information. While he, shorten it.
Document X509V3_EXT_print_fp(3).
Sort the list of decoding functions alphabetically by extension type.
List the printing functions that are already documented.
Adjust rDNS lifetime to RFC 8106 default (minimum) value.
It doesn't make sense to have the rDNS lifetime lower than the router
lifetime, this information travels together.
Pointed out by & OK jrick
Backout previous. I found that soclose() could leave socket tcp(4)
destruction to the tcp_timer_2msl(), and the implemented logic doesn't
work in this case.