diff options
author | mtm <mtm@FreeBSD.org> | 2007-11-21 16:01:42 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2007-11-21 16:01:42 +0000 |
commit | 46c3db4ab11e691b20ee497fb8b26b5f4d48fb16 (patch) | |
tree | 370b3bc6645a09d6e5d15f184f5b7b31e6aa4de4 /sys/contrib/pf | |
parent | e7409e54d4d1a91b409d9fe25dde641829a9f48a (diff) | |
download | FreeBSD-src-46c3db4ab11e691b20ee497fb8b26b5f4d48fb16.zip FreeBSD-src-46c3db4ab11e691b20ee497fb8b26b5f4d48fb16.tar.gz |
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
Diffstat (limited to 'sys/contrib/pf')
0 files changed, 0 insertions, 0 deletions