Fix race condition caused by using NG_SEND_DATAQ() where we meant
to use ng_queue_data(). Reported by: Udo Erdelhoff <ue@nathan.ruhr.de>
This commit is contained in:
parent
bf36609078
commit
e713486f3b
@ -203,9 +203,7 @@ ng_ether_input2(node_p node, struct mbuf **mp, struct ether_header *eh)
|
||||
return;
|
||||
|
||||
/* Send out lower/orphan hook */
|
||||
NG_SEND_DATAQ(error, priv->lower, *mp, meta);
|
||||
|
||||
/* Any reflected packet must come later due to queuing */
|
||||
(void)ng_queue_data(priv->lower, *mp, meta);
|
||||
*mp = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user