summaryrefslogtreecommitdiff
path: root/lib/linux_string.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-03-15 15:07:09 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2018-03-22 15:05:31 -0500
commita532e2f2e52277635fac79cdbe4e6b5b51166de4 (patch)
tree1f3f273f3dbdce03efc5475e7a0150ab413f4b06 /lib/linux_string.c
parent17d413b2531aa4bb2a97514f130bd520deee4ada (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>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions