diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-07-23 04:34:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-25 02:01:20 +0300 |
commit | d4d6c61489e7e4a8944360312e572988889558a8 (patch) | |
tree | 6d045f4ccb059726ddf9f653455b38431b7a2054 /net/sctp/chunk.c | |
parent | 787310859d8d1a72545db2343fb3ac8f765b0f35 (diff) | |
download | linux-d4d6c61489e7e4a8944360312e572988889558a8.tar.xz |
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.c | 2 |
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, asoc->outqueue.out_qlen == 0 && list_empty(&asoc->outqueue.retransmit) && msg_len > max_data) - first_len -= SCTP_PAD4(sizeof(sctp_sack_chunk_t)); + first_len -= SCTP_PAD4(sizeof(struct sctp_sack_chunk)); /* Encourage Cookie-ECHO bundling. */ if (asoc->state < SCTP_STATE_COOKIE_ECHOED) |