aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ulpqueue.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-06-29 23:52:20 -0400
committerDavid S. Miller <davem@davemloft.net>2017-07-01 12:08:42 -0400
commit9f8d31471548d9b74609335f9a3c75c7b664c8b4 (patch)
tree1fbc8c5b81f2d438a65c587c135a85097b3918a2 /net/sctp/ulpqueue.c
parent3583df1a3d7328b42cf116db3fb56b0368fab12b (diff)
sctp: remove the typedef sctp_data_chunk_t
This patch is to remove the typedef sctp_data_chunk_t, and replace with struct sctp_data_chunk in the places where it's using this typedef. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ulpqueue.c')
-rw-r--r--net/sctp/ulpqueue.c2
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