Fix double free.
PR: kern/163089 Submitted by: Herbie Robinson <Herbie.Robinson stratus.com>
This commit is contained in:
parent
6f4cbf7cb3
commit
6d18ea8ff9
@ -3090,7 +3090,6 @@ mld_dispatch_packet(struct mbuf *m)
|
||||
m0 = mld_v2_encap_report(ifp, m);
|
||||
if (m0 == NULL) {
|
||||
CTR2(KTR_MLD, "%s: dropped %p", __func__, m);
|
||||
m_freem(m);
|
||||
IP6STAT_INC(ip6s_odropped);
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user