Fix for quite a special case when userland emulates a netgraph node, and
userland can reply to a message with NGM_HASREPLY bit set. In this case we should not wait for a response to a responce. PR: 176771 Submitted by: Keith Reynolds <keith.reynolds tidalscale.com>
This commit is contained in:
parent
f4562a299c
commit
61dbb845c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248159
@ -234,7 +234,7 @@ NgDeliverMsg(int cs, const char *path,
|
||||
}
|
||||
|
||||
/* Wait for reply if there should be one. */
|
||||
if (msg->header.cmd & NGM_HASREPLY) {
|
||||
if (msg->header.cmd & NGM_HASREPLY && !(msg->header.flags & NGF_RESP)) {
|
||||
struct pollfd rfds;
|
||||
int n;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user