projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbdf501
)
sctp: use sctp_chunk_is_data macro to decide a chunk is data chunk
author
Shan Wei
<shanwei@cn.fujitsu.com>
Sat, 1 May 2010 02:41:09 +0000
(22:41 -0400)
committer
Vlad Yasevich
<vladislav.yasevich@hp.com>
Sat, 1 May 2010 02:41:09 +0000
(22:41 -0400)
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>
net/sctp/outqueue.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/outqueue.c
b/net/sctp/outqueue.c
index e333d58336161fe51009befc1ff8436b01b3a5f5..a4fe7dee76e89d1a67f01c16a1057f33adf0d9fe 100644
(file)
--- a/
net/sctp/outqueue.c
+++ b/
net/sctp/outqueue.c
@@
-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
* immediately.
*/
- if (
SCTP_CID_DATA == chunk->chunk_hdr->type
) {
+ if (
sctp_chunk_is_data(chunk)
) {
/* Is it OK to queue data chunks? */
/* From 9. Termination of Association
*