[SCTP]: Set correct error cause value for missing parameters
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>
This commit is contained in:
parent
16d807988f
commit
ebdfcad4dc
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue