mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +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 New Issue
Block a user