Date: Sat, 26 Jan 2008 06:49:27 +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: <200801260649.m0Q6nVCA043347@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2008-01-26 06:49:27 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
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.109.2.1 +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?200801260649.m0Q6nVCA043347>
