Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2005 14:32:20 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netgraph ng_base.c
Message-ID:  <200509081432.j88EWK65041012@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-09-08 14:32:20 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_base.c 
  Log:
  Fix an item leak, that happens when some node calls ng_callout() two
  times consequently, without checking whether callout has been serviced
  or not. (ng_pptpgre and ng_ppp were catched in this behavior).
  
    - In ng_callout() save old item before calling callout_reset(). If the
      latter has returned 1, then free this item.
    - In ng_uncallout() clear c->c_arg.
  
  Problem reported by:    Alexandre Kardanev
  
  Revision  Changes    Path
  1.112     +6 -2      src/sys/netgraph/ng_base.c



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