cvs commit: src/sys/netinet6 ip6_output.c

Mike Makonnen mtm at FreeBSD.org
Fri Jan 25 22:49:32 PST 2008


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


More information about the cvs-src mailing list