- 23 Jun, 2022 12 commits
-
-
John Baldwin authored
The mptable_hostb driver is a child of legacy0 and has legacy bus ivars, not PCI or PCI bridge ivars. PR: 264819 Reported by: Dennis Clarke <dclarke@blastwave.org> Diagnosed by: avg Reviewed by: avg MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35548
-
Martin Matuska authored
-
Alan Somers authored
SES allows element descriptors to contain characters like spaces and quotes that devfs does not allow to appear in device aliases. Since SES element descriptors are outside of the kernel's control, we should gracefully handle a failure to create a device physical path alias. PR: 264513 Reported by: Yuri <yuri@aetern.org> Reviewed by: imp, mav Sponsored by: Axcient MFC after: 2 weeks
-
Martin Matuska authored
Notable upstream pull request merges: #12918 Introduce BLAKE3 checksums as an OpenZFS feature #13553 Reduce ZIO io_lock contention on sorted scrub #13537 Improve sorted scan memory accounting #13540 AVL: Remove obsolete branching optimizations #13563 FreeBSD: Improve crypto_dispatch() handling Obtained from: OpenZFS OpenZFS commit: deb12130
-
Brad Davis authored
Currently we only set canmount=noauto on the root of the BE, this change makes it so we set it on all datasets under the BE as well. Reviewed by: allanjude Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D35422
-
Claudio Jeker authored
Add tests for TCP_MD5 getsockopt for ipv6 and ipv4. These will only run when the kernel module is loaded, but will be in place if further regressions are found. Reviewed by: rscheff MFC after: 3 days Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35532
-
Claudio Jeker authored
Unlock the inp when hanlding TCP_MD5SIG socket options. tcp_ipsec_pcbctl handles locking the inp when the option is being modified. This was found by Claudio Jeker while working on the OpenBGPd port. On 14 we get a panic when trying to call getsockopt, on 13.1 the process locks up using 100% CPU. Reviewed by: rscheff (transport), tuexen MFC after: 3 days Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D35532
-
Eugene Grosbein authored
This reverts commit 048ce087 due to bugs. Reworked change will be committed later hopefully.
-
Tom Jones authored
Reviewed by: Pau Amma Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35325
-
Dmitry Chagin authored
Reported by: Mikaël Urankar MFC after: 2 weeks
-
Kristof Provost authored
Don't change the mbuf chain layout. We've encountered alignment issues in the tcp syncookie code on armv7, which are triggered by the m_pullup() here. Reviewed by: mjg Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D35551
-
Cy Schubert authored
Disable P2P in WPS as it is not supported by FreeBSD. Also, it is not enabled in wpa_supplicant so the WPS P2P code is redundant. PR: 264238 Reported by: adrian MFC after: 3 days
-
- 22 Jun, 2022 28 commits
-
-
Chuck Silvers authored
vn_read_from_obj() requires that all pages of a vnode (except the last partial page) be either completely valid or completely invalid, but for file systems with block size smaller than PAGE_SIZE, partially valid pages may exist anywhere in the file. Do not enable the vn_read_from_obj() path in this case. Reviewed by: mckusick, kib, markj Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D34836
-
Rick Macklem authored
The vnode_vtype() macro was used to make the code compatible with Mac OSX, for the Mac OSX port. For FreeBSD, this macro just obscured the code, so avoid using it to clean up the code. This commit should not result in a semantics change.
-
Glen Barber authored
For some reason, while 3072M is sufficient for 14-CURRENT, it is not for 13-STABLE. Notably, previous investigations suggest that there are changes to makefs(8) in main that do not exist in stable/13, in which 14-CURRENT seems perfectly happy to ignore the target image size is smaller than the data being populated to it. I have no futher investigative details at the moment, but as this had caused arm failures for the past three weeks, this is the more hasty measure, hence the MFC timeframe noted. MFC after: 10 minutes Sponsored by: Rubicon Communications, LLC ("Netgate")
-
Ed Maste authored
-
Ed Maste authored
Note that lld enables relro by default, so that we already had either partial or full RELRO, depending on the state of the BIND_NOW knob. Add a RELRO knob so that the option can be disabled if desired, and so that builds using the GNU toolchain are equivalent to those using the standard Clang/LLVM toolchain. Reviewed by: markj MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35545
-
Alexander V. Chernikov authored
Use standard logging (FIB_XX_LOG) across nhg code instead of using old-style DPRINTFs. Add debug object printer for nhgs (`nhgrp_print_buf`). Example: ``` Jun 19 20:17:09 devel2 kernel: [nhgrp] inet.0 nhgrp_ctl_alloc_default: multipath init done Jun 19 20:17:09 devel2 kernel: [nhg_ctl] inet.0 alloc_nhgrp: num_nhops: 2, compiled_nhop: 2 Jun 19 20:17:26 devel2 kernel: [nhg_ctl] inet.0 alloc_nhgrp: num_nhops: 3, compiled_nhop: 3 Jun 19 20:17:26 devel2 kernel: [nhg_ctl] inet.0 destroy_nhgrp: destroying nhg#0/sz=2:[#6:1,#5:1] ``` Differential Revision: https://reviews.freebsd.org/D35525 MFC after: 2 weeks
-
Stefan Eßer authored
The filter_text function in scripts/functions.sh in version 5.3.3 had commented out a "rm" command, probably for debugging purposes. This caused temporary files to persist in /tmp when the bc program had been built. This commit fixes the build process with no change of the resulting artefacts. (cherry picked from commit 1576f667) MFC after: 3 days
-
Alexander V. Chernikov authored
Differential Revision: https://reviews.freebsd.org/D35530 MFC after: 2 weeks
-
Konstantin Belousov authored
i_nlink overflow might be transient, i_effnlink indicates the final value of the link count after all dependencies would be resolved. So if i_nlink reached the maximum but i_efflink did not, we should be able to make the link by syncing. We must sync the whole filesystem to resolve dependencies, which requires unlocking vnodes locked for VOPs. Use existing ERELOOKUP/VOP_UNLOCK_PAIR() mechanism to restart the VOP if sync with unlock was done. PR: 165392 Reported by: Vsevolod Volkov <vvv@colocall.net> Reviewed by: mckusick Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D35514
-
Dmitry Chagin authored
To calculate the base (lowest addressable) address of the stack of the initial thread glibc parses /proc/self/maps. In fact, the base address is calculated as 'to' value of stack entry of the /proc/self/maps - stack size limit (if the stack grows down). The base address should fit in between preceding entry and stack entry of the /proc/self/maps. In FreeBSD, since 19bd0d9c (Implement address space guards), we actually have two mappings for the stack region. The first one is the no-access mapping for the region the stack can grow into (guard page), and the second - initial stack region with size sgrowsiz. The first mapping confuses Glibc, in the end which is improperly calculate stack size and the base address. PR: 253337 Reviewed by: kib Differential revision: https://reviews.freebsd.org/D35537 MFC after: 2 week
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: jhb (previous version, without truss) Differential revision: https://reviews.freebsd.org/D35231 MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35230 MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35153 MFC after: 2 weeks
-
Dmitry Chagin authored
MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35216 MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35356 MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35215 MFC after: 2 weeks
-
Dmitry Chagin authored
Differential revision: https://reviews.freebsd.org/D35354 MFC after: 2 weeks
-
Dmitry Chagin authored
Reviewed by: jhb, emaste Differential revision: https://reviews.freebsd.org/D35353 MFC after: 2 weeks
-
Neel Chauhan authored
This mirrors the Linux behavior as seen in the kernel commit d773ce2. Reviewed by: kbowling MFH after: 3 days Differential Revision: https://reviews.freebsd.org/D35542
-
Chuck Silvers authored
Calculate the desired page valid mask using math that will not overflow the types used. Sponsored by: Netflix Reviewed by: mckusick, kib, markj Differential Revision: https://reviews.freebsd.org/D34837
-