projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d8079
)
[SCTP]: Set correct error cause value for missing parameters
author
Vlad Yasevich
<vladislav.yasevich@hp.com>
Tue, 16 Jan 2007 03:12:31 +0000
(19:12 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 24 Jan 2007 04:25:44 +0000
(20:25 -0800)
sctp_process_missing_param() needs to use the SCTP_ERROR_MISS_PARAM
error cause value.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_make_chunk.c
patch
|
blob
|
history
diff --git
a/net/sctp/sm_make_chunk.c
b/net/sctp/sm_make_chunk.c
index 167d888d1df263f29ee3734ba4ee6864931b70f6..ea0f8fac3f0193ebdd3d235fa8a175a5ad57a2c9 100644
(file)
--- a/
net/sctp/sm_make_chunk.c
+++ b/
net/sctp/sm_make_chunk.c
@@
-1562,7
+1562,7
@@
static int sctp_process_missing_param(const struct sctp_association *asoc,
if (*errp) {
report.num_missing = htonl(1);
report.type = paramtype;
- sctp_init_cause(*errp, SCTP_ERROR_
INV
_PARAM,
+ sctp_init_cause(*errp, SCTP_ERROR_
MISS
_PARAM,
&report, sizeof(report));
}