opengnsys_ipxe/src
Michael Brown b7e93a6a55 [xfer] Always nullify interface while sending close() message
Objects typically call xfer_close() as part of their response to a
close() message.  If the initiating object has already nullified the
xfer interface then this isn't a problem, but it can lead to
unexpected behaviour when the initiating object is aiming to reuse the
connection and so does not nullify the interface.

Fix by always temporarily nullifying the interface during xfer_close()
(as was already being done by xfer_vreopen() in order to work around
this specific problem).

Reported-by: infernix <infernix@infernix.net>
Tested-by: infernix <infernix@infernix.net>
2009-07-06 16:16:59 +01:00
..
arch [pxe] Add startpxe and stoppxe commands 2009-06-28 20:50:23 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [pxe] Add startpxe and stoppxe commands 2009-06-28 20:50:23 +01:00
core [xfer] Always nullify interface while sending close() message 2009-07-06 16:16:59 +01:00
crypto [legal] Add a selection of FILE_LICENCE declarations 2009-05-18 08:33:25 +01:00
doc [PXEXT] Update documentation 2008-03-26 15:14:55 -07:00
drivers [rtl8139] Split debug messages into DBGLVL_LOG and DBGLVL_EXTRA 2009-06-23 20:41:44 +01:00
hci [ifmgmt] Move ifmgmt_cmd.h to include/hci 2009-06-28 20:28:38 +01:00
image [script] Allow for DOS-style line endings in scripts 2009-06-03 10:13:29 +01:00
include [ifmgmt] Move ifmgmt_cmd.h to include/hci 2009-06-28 20:28:38 +01:00
interface [netdevice] Add netdev argument to link-layer push and pull handlers 2009-06-23 10:41:57 +01:00
libgcc [build] Enable building with the Intel C compiler (icc) 2009-03-26 07:27:19 +00:00
net [netdevice] Add mechanism for reporting detailed link status codes 2009-06-24 13:04:36 +01:00
proto [slam] Add Scalable Local Area Multicast (SLAM) protocol support 2008-06-10 00:04:19 +01:00
tests [i386] Add explicit flags and type on all .section declarations 2009-02-15 10:59:53 +00:00
usr [dhcp] Await link-up before starting DHCP 2009-06-24 13:18:31 +01:00
util [legal] Add licence.pl and %.licence make target 2009-05-18 08:29:24 +01:00
.gitignore [util] config-local.h to avoid accidental commits 2008-06-05 00:45:33 +01:00
Makefile [legal] Add licence.pl and %.licence make target 2009-05-18 08:29:24 +01:00
Makefile.housekeeping [build] Add -fno-dwarf2-cfi-asm to CFLAGS if supported by the gcc in use 2009-05-27 02:30:46 +01:00
doxygen.cfg Remove uIP; we haven't used it for quite some time now. 2007-01-10 02:52:58 +00:00