Re: linux-ipsec: Re: valid module function pointer?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 18 Sep 1999 00:17:50 +0100 (BST)


> > No. You need to ensure it isnt unloaded on you. Look at the network device
> > notifier
>
> Ok, where do I start looking for this? I've never heard of it. I had
> in mind something like incrementing its module reference count...

When an interfaceis ifconfigged up or down a message is set to the
network device notifier, so that protocol stacks can flush references or
re-establish them..

Read net/bridge/br.c - that uses the network device notifier. Its in all kernels
from 2.0 up

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/