HomeFreeBSD

Instead of manually freeing the packet options structure (and not even doing

Description

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

Details

Provenance
Mike Makonnen <mtm@FreeBSD.org>Authored on Nov 21 2007, 4:01 PM
Parents
rGb7484bf1b95f: Cleanup pf interface mangement - esp. remove EVENTHANDLER before unloading
Branches
Unknown
Tags
Unknown

Event Timeline