tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: if_tun module doesn't autoload if opening /dev/tunN



On Wed, 7 Sep 2016, Martin Husemann wrote:

On Wed, Sep 07, 2016 at 01:50:07PM +0800, Paul Goyette wrote:
I can see a couple of ways to "fix" this:

	1. Rename the module (with all appropriate updates to the
	   sets lists in src/distrib/sets/lists), or
	2. Add code to spec_vnops.c to try loading module if_xxx if the
	   autoload of module xxx fails.

Add a static list of name exceptions? There probably are few.

Yeah, I thought of that, too, but I generally don't like such lists; they tend to be forgotten and bit-rot. Let me reconsider....


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index