committer filter by committer.
@path/to/ filter by path in repository.
committer@path/to/ filter by committer AND path in repository.
abdef0123 filter by commit's SHA hash.
rNNN filter by SVN revision.
rNNN-rMMM filter by SVN revisions range (inclusive).
Multiple filters can be specified separated by spaces or comas in which case they'll be combined using OR operator.
d2d4e127 | imp | Aug. 11, 2022, 4:27 p.m. | stand: Change zfs_fmtdev to take a struct devdesc *
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D35974cgit |
|
c32dde31 | imp | Aug. 11, 2022, 4:27 p.m. | stand: Change disk_fmtdev to take a struct devdesc *
We do a number of games with ploymorphism for different types struct *devdesc. Adjust one place that this affects to take the address of the base class (most others have void * at the moment). This is more type safe than a bare void *. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D35914cgit |
|
f197c0bf | imp | Aug. 11, 2022, 4:27 p.m. | stand: Move i386_devdesc to a union
Rather than have the magic, hand-crafted fields that have to align with fields in other structures at the end of i386_devdesc, make it into anonymous union and adjust the code accordingly. This is safer and similar to what CAM does. Sponsored by: Netflix Reviewed by: kevans, tsoome (prior version) Differential Revision: https://reviews.freebsd.org/D35965cgit |
|
bec11d96 | imp | Aug. 11, 2022, 4:27 p.m. | stand: Remove unnecessary include
stdbool.h is implied by stand.h, so remove it. Sponsored by: Netflixcgit |
|
e0b40500 | glebius | Aug. 11, 2022, 4:19 p.m. | raw ip6: merge rip6_output() into rip6_send()
While here remove some code that was compat legacy back in 2005, added in a1f7e5f8ee7fe. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36128cgit |
|
3d2041c0 | glebius | Aug. 11, 2022, 4:19 p.m. | raw ip: merge rip_output() into rip_send()
While here, address the unlocked 'dst' read. Solve that by storing a pointer either to the inpcb or to the sockaddr. If we end up copying address out of the inpcb, that would be done under the read lock section. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36127cgit |
|
8c77967e | glebius | Aug. 11, 2022, 4:19 p.m. | protosw: retire pr_output method
The only place to execute this method was raw_usend(). Only those protocols that used raw socket were able to actually enter that method. All pr_output assignments being deleted by this commit were a dead code for many years. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36126cgit |
|
f63cb32c | glebius | Aug. 11, 2022, 4:19 p.m. | Retire 4.4BSD raw sockets
Until today the remnants of the original code had provided some aid in implementation of routing socket and IPSEC key socket. There were more obfuscation rather than generalisation with this aid. A historical reference on the original idea of the raw sockets can be found in chapter 11 of 4.4BSD System Manager Manual: https://raw.githubusercontent.com/sergev/4.4BSD-Lite2/master/usr/share/doc/smm/18.net.pdf Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36124cgit |
|
ea7be129 | glebius | Aug. 11, 2022, 4:19 p.m. | keysock: do not use raw socket code
This makes key socket implementation self contained and removes one of the last dependencies on the raw socket code and pr_output method. There are very subtle API visible changes: - now key socket would return EOPNOTSUPP instead of EINVAL on syscalls that are not supposed to be called on a key socket. - key socket buffer sizes are now controlled by net.key sysctls instead of net.raw. The latter were not documented anywhere, and even Internet search doesn't find any references or discussions related to them. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36123cgit |
|
36b10ac2 | glebius | Aug. 11, 2022, 4:19 p.m. | rtsock: do not use raw socket code
This makes routing socket implementation self contained and removes one of the last dependencies on the raw socket code and pr_output method. There are very subtle API visible changes: - now routing socket would return EOPNOTSUPP instead of EINVAL on syscalls that are not supposed to be called on a routing socket. - routing socket buffer sizes are now controlled by net.rtsock sysctls instead of net.raw. The latter were not documented anywhere, and even Internet search doesn't find any references or discussions related to these sysctls. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36122cgit |
|
d94ec749 | glebius | Aug. 11, 2022, 4:19 p.m. | rtsock: do not allocate mbufs_tags(9) just to store a 8-bit value
Use local storage of the mbuf packet header instead. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36121cgit |
|
b8103ca7 | glebius | Aug. 11, 2022, 4:19 p.m. | netinet: get interface event notifications directly via EVENTHANDLER(9)
The old mechanism of getting them via domains/protocols control input is a relict from the previous century, when nothing like EVENTHANDLER(9) existed yet. Retire PRC_IFDOWN/PRC_IFUP as netinet was the only one to use them. Reviewed by: melifaro Differential revision: https://reviews.freebsd.org/D36116cgit |
|
78d7704b | markj | Aug. 11, 2022, 2:18 p.m. | makefs: Fix a memory leak in fs_layout_one()
Check the canmount property before building the mountpoint string. Reported by: Coverity Fixes: 240afd8c1fcc ("makefs: Add ZFS support") Sponsored by: The FreeBSD Foundationcgit |
|
e2259837 | markj | Aug. 11, 2022, 2:18 p.m. | makefs: Fix memory leaks in dsl_dir_finalize_props()
nvstring_get() returns a copy of the string, not a pointer into the nvlist's internal buffer. Reported by: Coverity Fixes: 240afd8c1fcc ("makefs: Add ZFS support") Sponsored by: The FreeBSD Foundationcgit |
|
69077c81 | mjg | Aug. 11, 2022, 2:12 p.m. | routing: fix non-debug build
Sponsored by: Rubicon Communications, LLC ("Netgate")cgit |