[Bug 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 20 16:21:19 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244241
--- Comment #5 from Aleksandr Fedorov <aleksandr.fedorov at 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list