lkml.org 
[lkml]   [1999]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: valid module function pointer?
Date
From
> 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



-
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/

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