From bf2c541b2ed65dea3a711f2917589739dacef59e Mon Sep 17 00:00:00 2001 From: ume Date: Sat, 7 Jul 2001 19:58:45 +0000 Subject: 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 --- sys/netinet6/ip6_output.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/netinet6') diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index d0d072e..9a6c61e 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -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); -- cgit v1.1