Alan Somers 2c24ad3377 ifconfig: abort if loading a module fails other than for ENOENT
If "ifconfig create" tries to load a kernel module, and the module
exists but can't be loaded, fail the command with a useful error
message.  This is helpful, for example, when trying to create a cloned
interface in a vnet jail.  But ignore ENOENT, because sometimes ifconfig
can't correctly guess the name of the required kernel module.

MFC after:	2 weeks
Reviewed by:	jhb
Differential Revision: https://reviews.freebsd.org/D37873
2023-01-09 19:56:18 -07:00
..
2022-07-18 22:06:15 +00:00
2022-11-03 00:20:12 +01:00
2022-05-07 09:55:40 -06:00
2022-01-12 13:52:23 +08:00
2022-06-17 10:36:17 +01:00
2022-11-22 09:53:20 +01:00
2021-12-07 11:40:22 +01:00
2022-01-08 12:45:46 +02:00
2021-09-11 20:04:52 +08:00
2023-01-02 00:48:25 +00:00
2022-12-12 08:19:51 -08:00
2022-07-19 08:59:53 -07:00