56d5323b kib Oct. 19, 2021, 8:04 p.m.
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
cgit
68dc5b38 kib Oct. 19, 2021, 8:04 p.m.
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
cgit
34f39a8c kib Oct. 19, 2021, 8:04 p.m.
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
cgit
f833ab9d kib Oct. 19, 2021, 8:04 p.m.
Reported by:	bdrewery, emaste
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
cgit
7ae879b1 kib Oct. 19, 2021, 8:04 p.m.
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
cgit
31faa565 kib Oct. 19, 2021, 8:04 p.m.
Reviewed by:	emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32513
cgit
1fec1fa8 glebius Oct. 19, 2021, 4:49 p.m.
Fixes:  f1cd4902bf17
cgit
32723a3b glebius Oct. 19, 2021, 4:49 p.m.
98e805b4 tsoome Oct. 19, 2021, 4:43 p.m.
net_open() does replace f_devdata with pointer to netdev_sock,
this will cause memory leak when device is closed, but also does
alter the devopen() logic.

We should store &netdev_sock to dev->d_opendata instead, this
would preserve and follow the devopen() logic.

Fixes network boot on aarch64 (tested by bz).

Reviewed-by:	imp
MFC After:	2 weeks
Differential Revision: https://reviews.freebsd.org/D32227
cgit
bcd4c17c mjg Oct. 19, 2021, 11:59 a.m.
Reviewed by:	kp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
cgit
225639e7 manu Oct. 19, 2021, 7:37 a.m.
Bell is either useless if you're working on remote servers or really annoying
when you're working with a local machine that have a loud buzzer.
Switch the default to have it disable.

Reviewed by:	   imp, pstef, tsoome
Sponsored by:	   Beckhoff Automation GmbH & Co. KG
Differential Revision:	    https://reviews.freebsd.org/D32543
cgit
bad324ac ygy Oct. 19, 2021, 4:37 a.m.
PR:		197003
MFC after:	3 days
Reported by:	Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>
cgit
1a724aa9 emaste Oct. 18, 2021, 11:29 p.m.
As lorder is not used by the base system build there is no need to
include it in bootstrap-tools or NXBDIRS.

Fixes: 		0e1e341b486c ("Stop using lorder and ranlib when...")
Sponsored by:	The FreeBSD Foundation
cgit
52dee2bc rmacklem Oct. 18, 2021, 10:05 p.m.
Without this patch, if a NFSv4.1/4.2 server replies NFSERR_DELAY to
a Close operation, the client loops retrying the Close while holding
a shared lock on the clientID.  This shared lock blocks returns of
delegations, even though the server has issued a CB_RECALL to request
the delegation return.

This patch delays doing a retry of a Close that received a reply of
NFSERR_DELAY until after the shared lock on the clientID is released,
for NFSv4.1/4.2.  To fix this for NFSv4.0 would be very difficult and
since the only known NFSv4 server to reply NFSERR_DELAY to Close only
does NFSv4.1/4.2, this fix is hoped to be sufficient.

This problem was detected during a recent IETF working group NFSv4
testing event.

MFC after:	2 week
cgit
73dddffc kib Oct. 18, 2021, 10:02 p.m.
Reset both pagepool_start and pagepool_end after a mmap(2) failure,
to avoid using invalid pagepool either for allocation or munmap(2).

PR:	259076
Noted by:	Denis Koreshkov <dynamic-wind@mail.ru>
Reviewed by:	arichardson
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32514
cgit