freebsd-src/sbin
Hans Petter Selasky e61d354b85 Fix bug in ifconfig regarding VLAN creation.
Detection of VLAN interface type must happen before detection of
interface type by prefix. Else the following sequence of commands will
try to create a LAGG interface instead of a VLAN interface, which
accidentially works, because the data pointed to by the ifr_data
pointer is not parsed by the VLAN create ioctl(2).

How to reproduce:
# ifconfig lagg0 create
# ifconfig lagg0.256 create

This is a direct commit.

Differential Revision:	https://reviews.freebsd.org/D27521
Tested by:		raul.munoz@custos.es
Sponsored by:		Mellanox Technologies // NVIDIA Networking
2020-12-10 09:39:27 +00:00
..
adjkerntz MFC r267667: 2016-10-16 22:02:50 +00:00
atm MFC r306723: 2016-10-16 23:27:03 +00:00
badsect Add missing static keywords for global variables to tools in sbin/. 2011-11-04 13:36:02 +00:00
bsdlabel MFC r306724: 2016-10-16 23:28:58 +00:00
camcontrol MFC r319337: 2017-07-07 15:22:29 +00:00
ccdconfig MFC r306598 2016-10-10 16:11:51 +00:00
clri MFC r306725: 2016-10-16 23:32:35 +00:00
comcontrol A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
conscontrol MFC r270647: Add references to vt(4) and the configuration files in /usr/sha 2014-09-04 13:45:16 +00:00
ddb remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
devd MFC r320165-r320166 2017-07-31 22:28:33 +00:00
devfs MFC r314924: 2017-03-16 01:59:43 +00:00
dhclient MFC r330085: 2018-03-09 14:39:28 +00:00
dmesg MFC r306599: 2016-10-08 21:19:44 +00:00
dump MFC r306600: 2016-10-10 16:14:00 +00:00
dumpfs MFC r287429: 2016-01-11 20:11:41 +00:00
dumpon MFC r306601: 2016-10-10 16:17:14 +00:00
etherswitchcfg MFC: r261500 2014-02-11 13:33:03 +00:00
fdisk MFC r306731: 2016-10-16 23:39:15 +00:00
fdisk_pc98 MFC r306732: 2016-10-16 23:44:02 +00:00
ffsinfo MFC r267667: 2016-10-16 22:02:50 +00:00
fsck MFC r306733 2017-03-30 02:38:38 +00:00
fsck_ffs MFC of 329749. 2018-02-23 23:07:41 +00:00
fsck_msdosfs MFC r333098: 2018-06-04 05:47:15 +00:00
fsdb MFC r306603: 2016-10-10 16:25:05 +00:00
fsirand MFC of 276737, 322200, 322201, 322271, and 322297 2017-08-24 21:44:23 +00:00
gbde MFC r292782: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2017-02-27 08:27:38 +00:00
geom MFC r323314, r323338, r328849 2018-03-10 04:17:01 +00:00
ggate MFC r267667: 2016-10-16 22:02:50 +00:00
growfs MFC r324478: 2017-10-17 15:49:36 +00:00
gvinum MFC r267667: 2016-10-16 22:02:50 +00:00
hastctl MFC r267667: 2016-10-16 22:02:50 +00:00
hastd MFC r267667: 2016-10-16 22:02:50 +00:00
ifconfig Fix bug in ifconfig regarding VLAN creation. 2020-12-10 09:39:27 +00:00
init MFC r320761: 2017-08-02 05:47:26 +00:00
ipf MFC r291329: 2015-12-04 18:50:12 +00:00
ipfw MFC r335921: 2018-07-06 19:10:07 +00:00
iscontrol MFC r300547 2016-07-06 17:45:38 +00:00
kldconfig MFC r267667: 2016-10-16 22:02:50 +00:00
kldload MFC r313273: 2017-02-12 09:27:34 +00:00
kldstat MFC r267667: 2016-10-16 22:02:50 +00:00
kldunload MFC r267667: 2016-10-16 22:02:50 +00:00
ldconfig Add a comment about why aout support is still here: We need it for 2013-03-19 16:57:04 +00:00
mca Fix a variety of compile errors with gcc48 and clang 2012-05-31 08:22:02 +00:00
md5 MFH (r314554): fix date in previous commit 2017-03-12 13:20:07 +00:00
mdconfig MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
mdmfs MFC r296449: Update meaning of -n argument. 2016-03-28 09:18:18 +00:00
mknod MFC r306606: 2016-10-10 16:32:55 +00:00
mksnap_ffs MFC r306607: 2016-10-10 16:36:14 +00:00
mount MFC r331616: vfs_donmount: in certain cases try r/o mount if r/w mount fails 2018-04-19 05:52:47 +00:00
mount_cd9660 MFC r315775: 2017-05-22 06:20:58 +00:00
mount_fusefs MFC r306610: 2016-10-10 16:38:07 +00:00
mount_msdosfs MFC r339816: mount_msdosfs 2018-11-26 11:23:01 +00:00
mount_nfs MFC: r317931 2017-05-22 21:52:06 +00:00
mount_nullfs MFC r306612: 2016-10-16 22:27:16 +00:00
mount_udf MFC: r261496 2014-02-11 08:20:45 +00:00
mount_unionfs MFC r306613: 2016-10-16 22:31:51 +00:00
nandfs mdoc: remove superfluous paragraph macro. 2012-05-17 11:29:22 +00:00
natd MFC r306735: 2016-10-16 23:50:09 +00:00
newfs MFC of 276737, 322200, 322201, 322271, and 322297 2017-08-24 21:44:23 +00:00
newfs_msdos MFC of 276737, 322200, 322201, 322271, and 322297 2017-08-24 21:44:23 +00:00
newfs_nandfs MFC r314671 (by cem): 2017-04-13 17:11:50 +00:00
nfsiod
nos-tun MFC r306736: 2016-10-16 23:53:10 +00:00
nvmecontrol MFC r267667: 2016-10-16 22:02:50 +00:00
pfctl MFC r333084: 2018-05-02 22:36:10 +00:00
pflogd pflogd does not depend on libutil 2013-01-01 18:28:21 +00:00
ping Check the return error of set[ug]id. While this can never fail in the 2012-10-22 03:31:22 +00:00
ping6 MFC r286834: 2015-08-31 18:53:41 +00:00
quotacheck Fix sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:06 +00:00
rcorder MFC r339818: rcorder(8): 2018-11-26 13:36:30 +00:00
reboot MFC: r332075 2018-04-13 03:47:41 +00:00
recoverdisk MFC r343871: 2019-02-13 09:28:48 +00:00
resolvconf MFC r304652: 2016-08-31 22:18:50 +00:00
restore MFC r298901: 2016-05-16 16:29:56 +00:00
route MFC r329930: route(8): make it possible to manually delete pinned route 2018-03-05 12:06:41 +00:00
routed Fix patch(1) shell injection vulnerability via ed(1). [SA-15:18] 2015-08-05 22:05:02 +00:00
rtsol MFC r288963: 2015-10-29 16:53:34 +00:00
savecore Relnotes: yes (subtle output/behavior change) 2017-07-19 16:38:55 +00:00
sconfig MFC r306615: 2016-10-16 22:52:05 +00:00
setkey MFC r306616 2017-03-30 02:32:38 +00:00
shutdown MFC r306617 2017-03-30 02:28:49 +00:00
spppcontrol
sunlabel mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
swapon MFC r315242: Fix late and noauto with geli swap 2017-03-28 10:43:20 +00:00
sysctl MFC r302174 2016-07-12 22:19:25 +00:00
tests MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
tunefs Constify string pointers. 2013-05-16 21:04:56 +00:00
umount MFC: r308871 2016-12-03 21:56:46 +00:00
zfsbootcfg MFC r308089: zfsbootcfg: a simple tool to set next boot (one time) 2016-11-21 10:14:36 +00:00
Makefile MFC r322951: 2017-09-30 20:44:25 +00:00
Makefile.amd64 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.arm
Makefile.i386 Integrate nvmecontrol(8) into the amd64 and i386 builds. 2012-09-17 21:41:38 +00:00
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.pc98
Makefile.sparc64