sam 2a76f36902 o move mutex init/destroy logic to the module load/unload hooks;
otherwise they are initialized twice when the code is statically
  configured in the kernel because the module load method gets
  invoked before the user application calls ip_mrouter_init
o add a mutex to synchronize the module init/done operations; this
  sort of was done using the value of ip_mroute but X_ip_mrouter_done
  sets it to NULL very early on which can lead to a race against
  ip_mrouter_init--using the additional mutex means this is safe now
o don't call ip_mrouter_reset from ip_mrouter_init; this now happens
  once at module load and X_ip_mrouter_done does the appropriate
  cleanup work to insure the data structures are in a consistent
  state so that a subsequent init operation inherits good state

Reviewed by:	juli
2003-12-20 18:32:48 +00:00
..
2003-10-25 10:57:08 +00:00
2003-10-29 15:07:04 +00:00
2003-10-07 17:46:18 +00:00
2003-11-08 23:09:42 +00:00
2003-10-25 09:37:10 +00:00
2003-10-25 10:57:08 +00:00
2003-10-29 15:07:04 +00:00
2003-10-29 15:07:04 +00:00
2003-06-01 09:20:38 +00:00
2003-08-07 18:16:59 +00:00
2003-10-29 15:07:04 +00:00
2003-08-07 18:17:43 +00:00
2003-08-07 18:17:43 +00:00
2003-12-17 16:12:01 +00:00