The m_free call in the ip6_fw_ctl_ptr == NULL case apparently

tries to free uninitialized mbuf.
This was my mistake during recent KAME merge.  This part is for
*BSD other than FreeBSD.

Submitted by:	Alexander N. Kabaev <ak03@gte.com>
This commit is contained in:
Hajimu UMEMOTO 2001-07-07 19:58:45 +00:00
parent d389e86a04
commit 3efe99eb71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79404

View file

@ -1669,8 +1669,6 @@ do { \
if (ip6_fw_ctl_ptr == NULL)
{
if (m)
(void)m_free(m);
return EINVAL;
}
error = (*ip6_fw_ctl_ptr)(optname, mp);