diff options
| author | Michael Brown | 2023-07-04 17:50:03 +0200 |
|---|---|---|
| committer | Michael Brown | 2023-07-04 17:54:39 +0200 |
| commit | b5b60ea33dc48a297515f95ac19cca20bb39edd1 (patch) | |
| tree | d8eef92727b7ec1af273ddcbe6cae2a462ea949a /src/net/udp.c | |
| parent | [build] Inhibit more linker warnings about an implied executable stack (diff) | |
| download | ipxe-b5b60ea33dc48a297515f95ac19cca20bb39edd1.tar.gz ipxe-b5b60ea33dc48a297515f95ac19cca20bb39edd1.tar.xz ipxe-b5b60ea33dc48a297515f95ac19cca20bb39edd1.zip | |
[interface] Fix debug message values for temporary interfaces
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/net/udp.c')
0 files changed, 0 insertions, 0 deletions
