diff options
Diffstat (limited to 'net/sctp/ulpqueue.c')
-rw-r--r-- | net/sctp/ulpqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c index 25f7e4140566..0225d62a869f 100644 --- a/net/sctp/ulpqueue.c +++ b/net/sctp/ulpqueue.c | |||
@@ -1090,7 +1090,7 @@ void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, | |||
1090 | 1090 | ||
1091 | if (chunk) { | 1091 | if (chunk) { |
1092 | needed = ntohs(chunk->chunk_hdr->length); | 1092 | needed = ntohs(chunk->chunk_hdr->length); |
1093 | needed -= sizeof(sctp_data_chunk_t); | 1093 | needed -= sizeof(struct sctp_data_chunk); |
1094 | } else | 1094 | } else |
1095 | needed = SCTP_DEFAULT_MAXWINDOW; | 1095 | needed = SCTP_DEFAULT_MAXWINDOW; |
1096 | 1096 | ||