mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Quickly fix up r353683: enter the epoch before calling into netisr_dispatch().
This commit is contained in:
parent
b1460baa73
commit
c0ebee428e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353687
@ -2174,6 +2174,7 @@ igmp_slowtimo_vnet(void)
|
||||
static int
|
||||
igmp_v1v2_queue_report(struct in_multi *inm, const int type)
|
||||
{
|
||||
struct epoch_tracker et;
|
||||
struct ifnet *ifp;
|
||||
struct igmp *igmp;
|
||||
struct ip *ip;
|
||||
@ -2223,7 +2224,9 @@ igmp_v1v2_queue_report(struct in_multi *inm, const int type)
|
||||
m->m_flags |= M_IGMP_LOOP;
|
||||
|
||||
CTR2(KTR_IGMPV3, "%s: netisr_dispatch(NETISR_IGMP, %p)", __func__, m);
|
||||
NET_EPOCH_ENTER(et);
|
||||
netisr_dispatch(NETISR_IGMP, m);
|
||||
NET_EPOCH_EXIT(et);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user