cvs commit: src/sys/netinet6 ip6_output.c

Mike Makonnen mtm at FreeBSD.org
Fri Jan 25 23:08:49 PST 2008


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


More information about the cvs-src mailing list