Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2020 16:21:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch
Message-ID:  <bug-244241-7501-htHqCy2HXh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244241-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244241-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241

--- Comment #5 from Aleksandr Fedorov <aleksandr.fedorov@itglobal.com> ---
Thank you for the clarification.

Than, if you call #ngctl mkpeer . [NODE_TYPE] [SRC_HOOK] [DST_HOOK]
It's go through ngc_send(), which enter to the epoch:
http://bxr.su/FreeBSD/sys/netgraph/ng_socket.c#341

And execute node constructor, but most of the node constructors calls
malloc(priv,..., M_WAIT_OK) -
http://bxr.su/FreeBSD/sys/netgraph/ng_eiface.c#391

As, I understand this is incorrect.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244241-7501-htHqCy2HXh>