summaryrefslogtreecommitdiffstats
path: root/net/sctp/chunk.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-22 21:34:33 -0400
committerDavid S. Miller <davem@davemloft.net>2017-07-24 19:01:20 -0400
commitd4d6c61489e7e4a8944360312e572988889558a8 (patch)
tree6d045f4ccb059726ddf9f653455b38431b7a2054 /net/sctp/chunk.c
parent787310859d8d1a72545db2343fb3ac8f765b0f35 (diff)
sctp: remove the typedef sctp_sack_chunk_t
This patch is to remove the typedef sctp_sack_chunk_t, and replace with struct sctp_sack_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/chunk.c')
-rw-r--r--net/sctp/chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/chunk.c b/net/sctp/chunk.c
index 1323d41e68b8..681b181e7ae3 100644
--- a/net/sctp/chunk.c
+++ b/net/sctp/chunk.c
@@ -221,7 +221,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
221 asoc->outqueue.out_qlen == 0 && 221 asoc->outqueue.out_qlen == 0 &&
222 list_empty(&asoc->outqueue.retransmit) && 222 list_empty(&asoc->outqueue.retransmit) &&
223 msg_len > max_data) 223 msg_len > max_data)
224 first_len -= SCTP_PAD4(sizeof(sctp_sack_chunk_t)); 224 first_len -= SCTP_PAD4(sizeof(struct sctp_sack_chunk));
225 225
226 /* Encourage Cookie-ECHO bundling. */ 226 /* Encourage Cookie-ECHO bundling. */
227 if (asoc->state < SCTP_STATE_COOKIE_ECHOED) 227 if (asoc->state < SCTP_STATE_COOKIE_ECHOED)