diff options
author | Thomas Huth <thuth@redhat.com> | 2016-10-14 09:55:08 +0200 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-10-17 11:02:13 +1100 |
commit | ab3ce014ea462642de0ae29fdfab42fd99aa927c (patch) | |
tree | 4ea3756c0547d9953e27eab4415705aa456cacae /clients | |
parent | 8e92d6b3e8d6ac0625356f058da6ddae316e2cdc (diff) | |
download | SLOF-ab3ce014ea462642de0ae29fdfab42fd99aa927c.zip SLOF-ab3ce014ea462642de0ae29fdfab42fd99aa927c.tar.gz SLOF-ab3ce014ea462642de0ae29fdfab42fd99aa927c.tar.bz2 |
Remember execution tokens of "write" and "read" for socket operations
The recv() and send() functions are currently assuming that the
dictionary of the NIC node is available, so that they can call
"read" or "write" directly. While this is working fine when only
doing network loading from the Open Firmware prompt, this does
not work anymore when a client like yaboot is trying to load
additional files.
Fix this issue by looking up the execution tokens of "read" and
"write" while opening the socket, so we can use these XT values
during recv() and send() later.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'clients')
0 files changed, 0 insertions, 0 deletions