diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-07-04 16:50:03 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-07-04 16:54:39 +0100 |
commit | b5b60ea33dc48a297515f95ac19cca20bb39edd1 (patch) | |
tree | d8eef92727b7ec1af273ddcbe6cae2a462ea949a /src/include/ipxe/pccrc.h | |
parent | 824441069010806b63cc5d110e5acd1f1d1ee858 (diff) | |
download | ipxe-b5b60ea33dc48a297515f95ac19cca20bb39edd1.tar.gz |
[interface] Fix debug message values for temporary interfacestmpintf
The interface debug message values constructed by INTF_DBG() et al
rely on the interface being embedded within a containing object. This
assumption is not valid for the temporary outbound-only interfaces
constructed on the stack by intf_shutdown() and xfer_vredirect().
Formalise the notion of a temporary outbound-only interface as having
a NULL interface descriptor, and overload the "original interface
descriptor" field to contain a pointer to the original interface that
the temporary interface is shadowing.
Originally-fixed-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/pccrc.h')
0 files changed, 0 insertions, 0 deletions