8b820df1 arichardson Feb. 3, 2021, 9:30 a.m.
I changed the Makefile to use SRCS instead of LDADD, but since there is
still and absolute path to the source the .o file was created inside the
source directory instead of the build directory.
It would be nice if this was an error/warning by default, but for now just
fix this issue by using .PATH and the base name of the file.

Reported by:	cy, peterj
eb0b1b33 melifaro Feb. 3, 2021, 8:49 a.m.
ROUTE_MPATH was added to the GENERIC kernel in r368648.

According to the plan in D27428, it was enabled with `net.route.multipath` sysctl set to 0.
Given enough time has passed, this change enables route multipath by default.

The goal is to ship FreeBSD 13 with multipath turned on.

Reviewed By: donner, olivier
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28423
805e2876 gjb Feb. 3, 2021, 12:04 a.m.
PR:		253192
Submitted by:	Yasuhiro Kimura
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
edc374e7 emaste Feb. 2, 2021, 10 p.m.
kern.proc.proc_td returns the process table with an entry for each
thread.  Previously the description included "no threads", presumably
a cut-and-pasteo in 2648efa621748.

Description suggested by PauAmma.

PR:		253146
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
a08cdb6c nc Feb. 2, 2021, 9:24 p.m.
to be a true RFC 6598 NAT444 setup, where each network segment (e.g. user,
subnet) can have their own dedicated port aliasing ranges.

Reviewed by:		donner, kp
Approved by:		0mp (mentor), donner, kp
Differential Revision:	https://reviews.freebsd.org/D23450
064e52c2 gbe Feb. 2, 2021, 7:16 p.m.
e59d9cb4 gbe Feb. 2, 2021, 7:13 p.m.
Reviewed by:	brueffer, donner, debdrup, ygy
MFC after:	2 days
3dd2a7a5 mav Feb. 2, 2021, 6:56 p.m.
DataSN for solicited Data-Out is per-R2T.  Since we handle whole R2T
in one go, we don't need to store it anywhere, especially in global
per-command structure.  This may allow us to handle multiple R2T per
command at once, if we decide, or may be relax locking.

Rename the second use of that field to io_referenced_task_tag.

MFC after:	1 month
9d0f1092 emaste Feb. 2, 2021, 6:41 p.m.
Reported by:	mjg
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
45456abc mjg Feb. 2, 2021, 6:13 p.m.
Reported by:	Johan Hendriks <joh.hendriks gmail.com>
Tested by:	kevans
70dfc101 gjb Feb. 2, 2021, 5:19 p.m.
PR:		253181
Submitted by:	Yasuhiro Kimura
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
d0ca28d7 kib Feb. 2, 2021, 4:48 p.m.
ff975f15 kib Feb. 2, 2021, 4:44 p.m.
Userspace has OFED build enabled for quite some time, but kernel modules
were not. This is useless config because any userspace IB code requires
kernel support. So enable modules build by default.

Move WITH_OFED to WITHOUT_OFED since defaults are now enabled.

Reviewed by:	emaste, hselasky, kevans
MFC after:	3 days
Sponsored by:	NVidia Networking / Mellanox Technologies
Differential Revision:	https://reviews.freebsd.org/D28460
e40787f9 trasz Feb. 2, 2021, 2:40 p.m.
In /etc/rc.d/linux the mounting paths of procfs, sysfs and devfs
are hardcoded to "/compat/linux".  Switching to the content of
compat.linux.emul_path sysctl would allow to switch linuxulator
to different place.

Submitted by:	freebsdnewbie_freenet.de
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27807
43d44842 kib Feb. 2, 2021, 2:14 p.m.
When a library is opened via fdlopen, it has a null pointer for its path
and so _rtld_bind can crash as a result of passing the null pointer to
basename() (which passes it to strrchr(), which doesn't do a null check).

PR:	253081
Submitted by:	theraven
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D28442