mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
Don't call m_freem() after ip_output(), as it always consumes
the mbuf chain provided to it. Found by: Pierre Guinoiseau
This commit is contained in:
parent
aa28501a67
commit
5b35d05538
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190354
|
@ -3451,7 +3451,6 @@ igmp_intr(struct mbuf *m)
|
|||
error = ip_output(m0, ipopts, NULL, 0, &imo, NULL);
|
||||
if (error) {
|
||||
CTR3(KTR_IGMPV3, "%s: ip_output(%p) = %d", __func__, m0, error);
|
||||
m_freem(m0);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue