[ipxe-devel] [PATCH 0/1] [iscsi] don't close when receiving nop-in

Vishvananda Ishaya Abrams vish.ishaya at oracle.com
Thu Dec 8 18:17:12 UTC 2016


There is a note on the ipxe website[1] about issues with lio and
grub. The stated workaround is to prevent lio from sending nop_in
ping requests. Unfortunately, not all versions of lio allow you to
set this parameter.

In the current iscsi code, if ipxe receives a nop_in request, it
will return an error, causing the iscsi connection to close.
Rather than disconnect, it seems more user friendly to just ignore
the ping. In my testing the target does not disconnect if it
doesn't receive a response.

At some point proper ping replies should be implemented, but this
allows ipxe to continue to communicate with nop_in sending targets
until the other end drops the connection.

[1]http://ipxe.org/appnote/iscsi_targets

Vishvananda Ishaya Abrams (1):
  [iscsi] don't close when receiving nop-in

 src/net/tcp/iscsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.5.0




More information about the ipxe-devel mailing list