[lkml]   [1998]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Spawning modprobe for AX25?!
Date (Chip Salzenberg) writes:

> I configured 2.1.125 _not_ to include AX25, AppleTalk, or IPX.
> Yet for some reason, when /sbin/ifconfig tries to create sockets
> of those types, the kernel spawns "modprobe net-pf-[345]".
> Why? Those modules are never there!

Because the high level socket() code doesn't have special cases for all
kinds of strange socket types, but instead just has a generic table. If
it can't find the socket family in the table it'll try to request the

The 2.1 socket code is modular enough that CONFIG_<type>=m is equivalent
to CONFIG_<type>=n. I don't think that it would be worth the additional
code and complexeties just to make it distingush between these two states
for a protocol. It would be much better to just fix net-tools to check
for the appropiate /proc/net files first before opening these sockets.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [W:0.065 / U:5.020 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site