[iscsi] Don't close when receiving NOP-In
authorVishvananda Ishaya Abrams <vish.ishaya@oracle.com>
Thu, 9 Mar 2017 14:23:22 +0000 (14:23 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 9 Mar 2017 14:23:22 +0000 (14:23 +0000)
commit4524cc11bfc5628e620cf4b42785ee6aee16ccb0
treea9490a9b69df776db1baf231b865ec1ba3b6d7f4
parent1d049002622da6a5a9cc98c42fd4dd27dc741b96
[iscsi] Don't close when receiving NOP-In

Some iSCSI targets send NOP-In.  Rather than closing the connection
when we receive one, it is more user friendly to log a debug message
and keep the connection open.  Eventually, it would be nice if iPXE
supported replying to NOP-Ins, but we might as well keep the
connection open until the target disconnects us.

Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tcp/iscsi.c