Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 06:49:58 -0700 (PDT)
From:      <iedowse@FreeBSD.org>
To:        alexai709@msn.com, iedowse@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/39571: free NULL mbuf in function icmp_errer()
Message-ID:  <200206201349.g5KDnwV86946@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: free NULL mbuf in function icmp_errer()

State-Changed-From-To: open->feedback
State-Changed-By: iedowse
State-Changed-When: Thu Jun 20 06:44:01 PDT 2002
State-Changed-Why: 

I think you have misread the code. The mbuf chain 'n' being freed
is not the same as the one 'm' that is tested for NULL. Also, if
you look at the code for m_freem() you will see that it is safe to
call it with a NULL argument anyway (icmp_error calls m_freem(),
not m_free() at the freeit label).

Can you confirm that you just misread the code so that this problem
report can be closed? If you have seen a panic that you believe was
caused by a bug here, please post a stack trace.

http://www.freebsd.org/cgi/query-pr.cgi?pr=39571

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206201349.g5KDnwV86946>