ff945008 glebius Nov. 19, 2021, 4:27 a.m.
Until this change there were two places where we would free tcpcb -
tcp_discardcb() in case if all timers are drained and tcp_timer_discard()
otherwise.  They were pretty much copy-n-paste, except that in the
default case we would run tcp_hc_update().  Merge this into single
function tcp_freecb() and move new short version of tcp_timer_discard()
to tcp_timer.c and make it static.

Reviewed by:		rrs, hselasky
Differential revision:	https://reviews.freebsd.org/D32965
fb8588d2 glebius Nov. 19, 2021, 4:27 a.m.
In case we failed to uma_zalloc() and also failed to reuse with
tcp_tw_2msl_scan(), then just use on stack tcptw.  This will allow
to run through tcp_twrespond() and standard tcpcb discard routine.

Reviewed by:		rrs
Differential revision:	https://reviews.freebsd.org/D32965
27a04f59 imp Nov. 19, 2021, 4:22 a.m.
MFC After:		3 days
Sponsored by:		Netflix
Reviewed by:	brooks, jhb
Differential Revision:	https://reviews.freebsd.org/D32853
a721ac94 imp Nov. 19, 2021, 4:22 a.m.
MFC After:		3 days
Sponsored by:		Netflix
Reviewed by:	brooks, jhb, emaste
Differential Revision:	https://reviews.freebsd.org/D32852
322b341d imp Nov. 19, 2021, 4:22 a.m.
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D32851
964035c4 glebius Nov. 19, 2021, 2:49 a.m.
Reviewed by:		markj
Differential revision:	https://reviews.freebsd.org/D33045
760be447 glebius Nov. 19, 2021, 2:47 a.m.
ae2268ef bz Nov. 18, 2021, 11:10 p.m.
Rather than having code to re-define bcd2bin() for the LinuxKPI
make sure libkern.h is always included before the LinuxKPI version.
Then only re-define our local LinuxKPI implementation.  [1]

From the argument truncating wrapper call the libkern version.
If we change our libkern implementation in the future we can save
us the remainder of the hassle. [2]  Given I need this to MFC,
which I am not sure we can with libkern, commit this intermediate

Suggested by:	Johannes Berg (johannes sipsolutions.net) [1]
Suggested by:	ian [2]
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
X-MFC with:	548ada00e54a9e7745d041b1ec7f68f3bd493365
Differential Revision: https://reviews.freebsd.org/D32695
f4bf849b rmacklem Nov. 18, 2021, 9:35 p.m.
yocalebo_gmail.com submitted a patch for mountd.c that
fixes the case where a username starts with a digit.
Without this patch, the username that starts with a
digit is misinterpreted as a numeric uid.
With this patch, any string that does not entirely
convert to a decimal number via strtoul() is considered
a user/group name.

Submitted by:	yocalebo_gmail.com
Reviewed by:	rmacklem
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D32993
1ac5586c 0mp Nov. 18, 2021, 9:03 p.m.
It's no longer required to have those SCM IDs at the start of makefiles.

MFC after:	3 days
b9569ba0 grehan Nov. 18, 2021, 9:09 p.m.
be60d8f2 nc Nov. 18, 2021, 5:54 p.m.
PR:			259112
Reported by:		Robert Morris <rtm@lcs.mit.edu>
Reviewed by:		fsu
MFC after:		3 days
Differential Revision:	https://reviews.freebsd.org/D33030
9dae2d03 rmacklem Nov. 18, 2021, 3:59 p.m.
Entries for a few recently defined rc variables
were missing from rc.conf.5.  This patch adds

It was not obvious to me what the ordering is,
so I added them to the area where other nfsd
related variables are.  I can easily move them.

I also replaced "are" with "is", since it seems to
read better.

This is a content change.

Reviewed by:	debdrup
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D33043
5085153a manu Nov. 18, 2021, 3:26 p.m.
Allocating a BAR will call baraddr which maps the framebuffer. No need
to allocate it explicitly on init.

Reviewed by:     grehan
Sponsored by:    Beckhoff Autmation GmbH & Co. KG
Differential Revision:    https://reviews.freebsd.org/D32596
e87a6f3e manu Nov. 18, 2021, 3:25 p.m.
Tell the guest whether a BAR uses prefetched memory or not for
passthru devices by using the same lobits as the physical device.

Reviewed by:	 grehan
Sponsored by:	 Beckhoff Autmation GmbH & Co. KG
Differential Revision:	  https://reviews.freebsd.org/D32685