Messages in this thread | | | From | Richard Guy Briggs <> | Subject | Re: linux-ipsec: Re: valid module function pointer? | Date | Fri, 17 Sep 1999 19:26:07 -0400 (EDT) |
| |
-----BEGIN PGP SIGNED MESSAGE-----
> > Can anyone suggest a way to test a module function pointer for > > validity? The problem is that we currently save pointers to kernel > > space funciton pointers which might go away if a pcmcia card is > > removed. Is there a way to test if the function pointer belongs to a > > module which is still loaded? > > 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...
slainte mhath, RGB - -- Richard Guy Briggs -- PGP key available Auto-Free Ottawa! Canada <http://www.conscoop.ottawa.on.ca/rgb/> </www.flora.org/afo/> Prevent Internet Wiretapping! -- FreeS/WAN:<www.xs4all.nl/~freeswan> Thanks for voting Green! -- <green.ca> Marillion:<www.marillion.co.uk>
-----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv
iQCVAwUBN+LODN+sBuIhFagtAQHYigP6AzcnD4KGAlTrycJOQ7++jZVAoqLvO/M8 IknFffF+dT30rpKrT0RvM94r8rTbRGhgqAMHugfCEa+npjdNpiWLw6JtCDKxeMjw +uDGvdrLVbQb8AnqLQE9GUrmtGqJ6GZidLBLq32LIdwMkrhZNPxynrM73qT2/wfV DyDWhuVN8Lw= =TSBv -----END PGP SIGNATURE-----
- 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/
| |