diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r-- | drivers/scsi/iscsi_tcp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h index 6a4ee704e46e..e35701305fc9 100644 --- a/drivers/scsi/iscsi_tcp.h +++ b/drivers/scsi/iscsi_tcp.h | |||
@@ -51,6 +51,7 @@ | |||
51 | #define ISCSI_SG_TABLESIZE SG_ALL | 51 | #define ISCSI_SG_TABLESIZE SG_ALL |
52 | #define ISCSI_TCP_MAX_CMD_LEN 16 | 52 | #define ISCSI_TCP_MAX_CMD_LEN 16 |
53 | 53 | ||
54 | struct crypto_hash; | ||
54 | struct socket; | 55 | struct socket; |
55 | 56 | ||
56 | /* Socket connection recieve helper */ | 57 | /* Socket connection recieve helper */ |
@@ -84,8 +85,8 @@ struct iscsi_tcp_conn { | |||
84 | /* iSCSI connection-wide sequencing */ | 85 | /* iSCSI connection-wide sequencing */ |
85 | int hdr_size; /* PDU header size */ | 86 | int hdr_size; /* PDU header size */ |
86 | 87 | ||
87 | struct crypto_tfm *rx_tfm; /* CRC32C (Rx) */ | 88 | struct crypto_hash *rx_tfm; /* CRC32C (Rx) */ |
88 | struct crypto_tfm *data_rx_tfm; /* CRC32C (Rx) for data */ | 89 | struct hash_desc data_rx_hash; /* CRC32C (Rx) for data */ |
89 | 90 | ||
90 | /* control data */ | 91 | /* control data */ |
91 | struct iscsi_tcp_recv in; /* TCP receive context */ | 92 | struct iscsi_tcp_recv in; /* TCP receive context */ |
@@ -97,8 +98,8 @@ struct iscsi_tcp_conn { | |||
97 | void (*old_write_space)(struct sock *); | 98 | void (*old_write_space)(struct sock *); |
98 | 99 | ||
99 | /* xmit */ | 100 | /* xmit */ |
100 | struct crypto_tfm *tx_tfm; /* CRC32C (Tx) */ | 101 | struct crypto_hash *tx_tfm; /* CRC32C (Tx) */ |
101 | struct crypto_tfm *data_tx_tfm; /* CRC32C (Tx) for data */ | 102 | struct hash_desc data_tx_hash; /* CRC32C (Tx) for data */ |
102 | 103 | ||
103 | /* MIB custom statistics */ | 104 | /* MIB custom statistics */ |
104 | uint32_t sendpage_failures_cnt; | 105 | uint32_t sendpage_failures_cnt; |