Commit ec7bf6c1 authored by Jon Grimm's avatar Jon Grimm

[SCTP] Special case the handling of HOST_NAME_ADDRESS parm.

Fix for action bits regressed HOST_NAME_ADDRESS parm behavior, so
just special case this so the association is aborted as expected. 
parent a77bd2c4
......@@ -1730,8 +1730,12 @@ int sctp_verify_init(const struct sctp_association *asoc,
sctp_walk_params(param, peer_init, init_hdr.params) {
if (!sctp_verify_param(asoc, param, cid, chunk, errp))
return 1;
if (!sctp_verify_param(asoc, param, cid, chunk, errp)) {
if (SCTP_PARAM_HOST_NAME_ADDRESS == param.p->type)
return 0;
else
return 1;
}
} /* for (loop through all parameters) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment