modularizing some of the net code

Tom Dyas (tdyas@eden.rutgers.edu)
Tue, 12 Mar 96 22:38:45 EST


I was looking through the Appletalk and IPX code to see if there was
any way to turn the code into modules. It turned out to be a little
harder than I thought since there are some issues on when a rmmod
should be disallowed (usage count stuff).

Obviously, the usage count should be increased and decreased when a
socket is created and then later released (at the point of the kfree).
However, should the usage count be increased when interfaces and/or
routes are created and destroyed? It seems that they should be, but I
am not really sure.

In other words, any specific "criteria" to keep in mind?

Tom