21f5dc86d3
Detection of interface type by filter 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 worked previously, because the date pointed to by the ifr_data pointer was not parsed by VLAN create ioctl(2). This is a regression after r368229, because the VLAN creation now parses the ifr_data field. How to reproduce: # ifconfig lagg0 create # ifconfig lagg0.256 create Differential Revision: https://reviews.freebsd.org/D27521 Reviewed by: kib@ and kevans@ Reported by: raul.munoz@custos.es Sponsored by: Mellanox Technologies // NVIDIA Networking |
||
---|---|---|
.. | ||
tests | ||
af_inet6.c | ||
af_inet.c | ||
af_link.c | ||
af_nd6.c | ||
carp.c | ||
ifbridge.c | ||
ifclone.c | ||
ifconfig.8 | ||
ifconfig.c | ||
ifconfig.h | ||
iffib.c | ||
ifgif.c | ||
ifgre.c | ||
ifgroup.c | ||
ifieee80211.c | ||
ifipsec.c | ||
iflagg.c | ||
ifmac.c | ||
ifmedia.c | ||
ifpfsync.c | ||
ifvlan.c | ||
ifvxlan.c | ||
ifwg.c | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
sfp.c |