commit | 7151149700de63becf5b4289910e989d037f5ca4 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Mar 15 15:07:09 2018 +0100 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Mar 22 15:05:31 2018 -0500 |
tree | 1f3f273f3dbdce03efc5475e7a0150ab413f4b06 | |
parent | fb7c94cda8e63b18094bbde1688ec1b68ae4d5ac [diff] |
net: Only access network devices after init In the efi_loader main loop we call eth_rx() occasionally. This rx function might end up calling into devices that haven't been initialized yet, potentially resulting in a lot of transfer timeouts. Instead, let's make sure the ethernet device is actually initialized before reading from or writing to it. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>