freebsd-skq/sbin/ifconfig
Andrew Gallatin 47528c67ef Make lagg creation more fault tolerant
- Warn, don't exit, when SIOCSLAGGPORT returns an error.

When we exit with an error during lagg creation, a single
failed NIC (which no longer attaches) can prevent lagg
creation and other configuration, such as adding an IPv4
address, and thus leave a machine unreachable.

- Preserve non-EEXISTS errors for exit status from SIOCSLAGGPORT,
  in case scripts are looking for it. Hopefully this can be
  extended if other parts of ifconfig can allow a "soft" failure.

- Improve the warning message to mention what lagg and what
  member are problematic.

Reviewed by: jtl, glebius
Sponsored by: Netflix
Differential Revision:	https://reviews.freebsd.org/D15046
2018-04-17 12:54:58 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
af_inet6.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
af_inet.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
af_link.c Allow to specify PCP on packets not belonging to any VLAN. 2018-03-27 15:29:32 +00:00
af_nd6.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
carp.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifbridge.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifclone.c Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
ifconfig.8 Document in ifconfig(8) that gre(4) accepts tunnel commands 2017-04-29 15:35:30 +00:00
ifconfig.c Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
ifconfig.h Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
iffib.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgif.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgre.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgroup.c Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
ifieee80211.c Extend SSID maximum string length to 32 chars to support longer SSID 2018-03-16 16:56:56 +00:00
ifipsec.c Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
iflagg.c Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
ifmac.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifmedia.c Remove support for FDDI and token ring media types in userland utilities. 2018-04-16 18:07:51 +00:00
ifpfsync.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifvlan.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ifvxlan.c Add support for IPv6 scoped addresses to vxlan 2017-12-30 04:03:53 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
sfp.c ifconfig(8): Display extended compliance code string for SFP transceivers 2017-12-05 18:42:07 +00:00