Files
ipxe/src/net
Michael Brown 78749542fc [netdevice] Ensure driver transmit() and poll() will not be re-entered
When CONSOLE_SYSLOG is used, a DBG() from within a network device
driver may cause its transmit() or poll() methods to be unexpectedly
re-entered.  Since these methods are not intended to be re-entrant,
this can lead to undefined behaviour.

Add an explicit re-entrancy guard to both methods.  Note that this
must operate at a per-netdevice level, since there are legitimate
circumstances under which the netdev_tx() or netdev_poll() functions
may be re-entered (e.g. when using VLAN devices).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-04-10 16:53:52 +01:00
..
2021-01-19 13:01:43 +00:00
2014-05-18 21:53:39 +01:00
2016-03-12 01:24:03 +00:00
2015-03-05 00:59:38 +00:00
2016-07-25 15:20:22 +01:00
2015-03-05 11:25:54 +00:00