cvs commit: src/sys/netinet6 ip6_output.c

Mike Makonnen mtm at FreeBSD.org
Wed Nov 21 08:01:42 PST 2007


mtm         2007-11-21 16:01:42 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         ip6_output.c 
  Log:
  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.110     +1 -6      src/sys/netinet6/ip6_output.c


More information about the cvs-src mailing list