sctp: use sctp_chunk_is_data macro to decide a chunk is data chunk
sctp_chunk_is_data macro is defined to decide that whether a chunk is data chunk or not. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
This commit is contained in:
parent
fbdf501c93
commit
ec7b951950
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ int sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk)
|
||||||
/* If it is data, queue it up, otherwise, send it
|
/* If it is data, queue it up, otherwise, send it
|
||||||
* immediately.
|
* immediately.
|
||||||
*/
|
*/
|
||||||
if (SCTP_CID_DATA == chunk->chunk_hdr->type) {
|
if (sctp_chunk_is_data(chunk)) {
|
||||||
/* Is it OK to queue data chunks? */
|
/* Is it OK to queue data chunks? */
|
||||||
/* From 9. Termination of Association
|
/* From 9. Termination of Association
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue