Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/kern

   Module Name: src
   Committed By:        pooka
   Date:                Wed Mar  3 17:58:37 UTC 2010
   Modified Files:
        src/sys/kern: kern_module.c
   Log Message:
   Replace unsafe use of TAILQ_FOREACH: as the comment says, the
   structures are pulled off the list in the loop and it's anyone's
   guess where they go after that.

... i recommend using TAILQ_FOREACH_SAFE().  :-)

Home | Main Index | Thread Index | Old Index