Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2008 07:08:48 +0000 (UTC)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet6 ip6_output.c
Message-ID:  <200801260708.m0Q78mMO045286@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2008-01-26 07:08:48 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet6         ip6_output.c 
  Log:
  MFC: rev. 1.110
  ----------------------------------------------------------------------------
  Instead of manually freeing the packet options structure (and not even doing
  a good job of it) in the copypktopts() function, just call ip6_clearpktopts()
  directly. Otherwise, the callers of this function would end up freeing the
  memory twice.
  
  Reviewed by: jinmei
  PR:          kern/116360
  ----------------------------------------------------------------------------
  
  Revision   Changes    Path
  1.90.2.11  +1 -6      src/sys/netinet6/ip6_output.c



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