freebsd-src/sbin
Kristof Provost 3836400a78 pfsync: fix incorrect enabling of defer mode
When we exposed the PFSYNCF_OK flag to userspace in 5f5bf88949 we
unintentionally caused defer mode to always be enabled.
The ioctl check only looked for nonzero, not for the PFSYNCF_DEFER flag.

Fix this check and ensure ifconfig sets the flag.

Reviewed by:	glebius
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D33244

(cherry picked from commit 73fd0eaf59)
2021-12-13 14:49:27 +01:00
..
adjkerntz
bectl bectl(8): don't allow creation of boot environments with spaces 2021-06-11 09:28:41 -08:00
bsdlabel
camcontrol camcontrol: dump received data for MMC command even if it is unknown 2021-11-21 12:00:42 +02:00
ccdconfig
clri
comcontrol
conscontrol
ddb
decryptcore decryptcore: preload OpenSSL error strings; seed PRNG 2020-12-11 14:32:42 +00:00
devd vt: fix git mismerge 2021-11-18 22:10:07 -07:00
devfs devfs.rules: Correctly unhide pf in vnet jails 2021-11-24 17:45:51 +01:00
devmatch devmatch(8): Fix section ordering 2020-11-20 16:34:01 +00:00
dhclient dhclient: remove patching of static values in BPF programs 2021-08-26 07:46:11 -04:00
dmesg
dump Correct assert added to dump program. 2021-05-20 15:57:37 -07:00
dumpfs
dumpon dumpon.8: Ask DDB to call doadump() rather than calling it directly 2021-03-15 11:40:16 -04:00
etherswitchcfg
fdisk
ffsinfo ffsinfo: Update example to avoid to-be-deprecated vinum 2021-04-09 21:26:23 -04:00
fsck
fsck_ffs Avoid lost buffers in fsck_ffs. 2021-10-23 21:24:08 -07:00
fsck_msdosfs
fsdb Rewrite the disk I/O management system in fsck_ffs(8). Other than 2021-01-07 15:03:15 -08:00
fsirand Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
gbde
geom Allow GEOM utilities to specify a -v option. 2021-11-23 15:04:33 -08:00
ggate Fix remote code execution in ggatec(8). 2021-08-24 10:50:50 -07:00
growfs growfs: do not error if filesystem is already requested size 2021-11-21 19:30:18 -05:00
gvinum gvinum: add deprecation notice 2021-12-03 10:16:23 -05:00
hastctl
hastd hastd(8) assumes it has no extra file descriptors opened 2020-11-29 13:45:53 +00:00
ifconfig pfsync: fix incorrect enabling of defer mode 2021-12-13 14:49:27 +01:00
init init: execute /etc/rc.final after all user processes have terminated 2021-08-26 01:42:00 -05:00
ipf
ipfw ipfw: Introduce dnctl 2021-09-14 22:00:24 +02:00
iscontrol Update old iSCSI initiator man pages for removal from 14 and later 2021-10-26 16:23:41 -04:00
kldconfig
kldload
kldstat
kldunload
ldconfig ldconfig(8): check for no-args command line after options are parsed 2021-12-01 03:07:19 +02:00
md5 md5(1): Fix a typo in the manual page 2021-08-19 09:29:01 +02:00
mdconfig mdconfig: Add a regression test for mediasize rounding 2021-09-07 09:36:18 -04:00
mdmfs
mknod
mksnap_ffs
mount
mount_cd9660
mount_fusefs Fix a common typo in man pages and src comments 2021-09-02 08:13:48 +02:00
mount_msdosfs
mount_nfs mount_nfs.8: Add information for "nconnect" to man page 2021-08-03 16:49:28 -07:00
mount_nullfs mount_nullfs: rename a local variable 2021-04-08 02:15:00 +00:00
mount_udf
mount_unionfs
natd natd: Remove uneeded in_cksum.h includes 2021-12-01 07:42:13 -05:00
newfs Explain the newfs naming convention 2021-04-20 10:07:25 +02:00
newfs_msdos
nfsiod pkgbase: Add nfsiod to the FreeBSD-nfs package 2021-08-16 18:15:47 +02:00
nos-tun
nvmecontrol Partially revert previous commit. 2021-07-20 21:56:36 -04:00
pfctl pf: Introduce ridentifier 2021-11-26 04:39:05 +01:00
pfilctl
pflogd
ping sbin: build ping if at least one of INET & INET6 is enabled 2021-12-12 20:28:58 -05:00
ping6 Merge ping6 to ping 2020-11-26 04:29:30 +00:00
quotacheck
rcorder
reboot Address a mandoc warning 2020-11-10 14:17:05 +00:00
recoverdisk
resolvconf
restore
route socket: Implement SO_RERROR 2021-08-10 18:54:00 -07:00
routed sbin/routed: Remove unused code for sgi and NetBSD. 2020-12-25 17:42:47 -08:00
rtsol
savecore savecore: bail on write error even when decompressing 2020-12-11 22:52:12 +00:00
sconfig
setkey
shutdown
spppcontrol Mark sppp(4) as gone in FreeBSD 14. 2021-10-22 11:27:00 -07:00
swapon
sysctl sbin/sysctl: Fix CTLFLAG_SKIP for adjacent nodes 2021-01-28 19:36:46 -05:00
tests
tunefs Filesystem utilities that modify the filesystem (growfs(8), tunefs(8), 2020-10-25 01:36:33 +00:00
umount
veriexec
zfsbootcfg
Makefile sbin: build ping if at least one of INET & INET6 is enabled 2021-12-12 20:28:58 -05:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64