Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 11:15:00 -0800 (PST)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_mroute.c
Message-ID:  <200310291915.h9TJF0ff043865@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sam         2003/10/29 11:15:00 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_mroute.c 
  Log:
  Potential fix for races shutting down callouts when unloading
  the module.  Previously we grabbed the mutex used by the callouts,
  then stopped the callout with callout_stop, but if the callout
  was already active and blocked by the mutex then it would continue
  later and reference the mutex after it was destroyed.  Instead
  stop the callout first then lock.
  
  Supported by:   FreeBSD Foundation
  
  Revision  Changes    Path
  1.94      +6 -2      src/sys/netinet/ip_mroute.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310291915.h9TJF0ff043865>