diff options
Diffstat (limited to 'drivers/scsi/libiscsi_tcp.c')
-rw-r--r-- | drivers/scsi/libiscsi_tcp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/libiscsi_tcp.c b/drivers/scsi/libiscsi_tcp.c index db93cd0dfdb6..b84a1d853f29 100644 --- a/drivers/scsi/libiscsi_tcp.c +++ b/drivers/scsi/libiscsi_tcp.c | |||
@@ -863,6 +863,12 @@ int iscsi_tcp_recv_skb(struct iscsi_conn *conn, struct sk_buff *skb, | |||
863 | int rc = 0; | 863 | int rc = 0; |
864 | 864 | ||
865 | ISCSI_DBG_TCP(conn, "in %d bytes\n", skb->len - offset); | 865 | ISCSI_DBG_TCP(conn, "in %d bytes\n", skb->len - offset); |
866 | /* | ||
867 | * Update for each skb instead of pdu, because over slow networks a | ||
868 | * data_in's data could take a while to read in. We also want to | ||
869 | * account for r2ts. | ||
870 | */ | ||
871 | conn->last_recv = jiffies; | ||
866 | 872 | ||
867 | if (unlikely(conn->suspend_rx)) { | 873 | if (unlikely(conn->suspend_rx)) { |
868 | ISCSI_DBG_TCP(conn, "Rx suspended!\n"); | 874 | ISCSI_DBG_TCP(conn, "Rx suspended!\n"); |