Call ip6_clearpktopts() on error in copypktopts() instead of freeing
authorcanacar <canacar@openbsd.org>
Wed, 30 Jul 2008 15:07:40 +0000 (15:07 +0000)
committercanacar <canacar@openbsd.org>
Wed, 30 Jul 2008 15:07:40 +0000 (15:07 +0000)
commit951dd902aa258990909793085d532b976dca24c6
tree61bdc4c74dca5f43bc59a33bc689b7141ffad4d4
parent188ae181f5872fde99a2c6b4159309139405d793
Call ip6_clearpktopts() on error in copypktopts() instead of freeing
every field individually.
ok claudio@ markus@ henning@ deraadt@
sys/netinet6/ip6_output.c