Commit 33c7cfdb authored by Shan Wei's avatar Shan Wei Committed by David S. Miller

sctp: fix the comment of sctp_sf_violation_paramlen()

Update the comment about sctp_sf_violation_paramlen() to be
more precise.
Signed-off-by: default avatarShan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 709d3871
...@@ -4343,8 +4343,9 @@ static sctp_disposition_t sctp_sf_violation_chunklen( ...@@ -4343,8 +4343,9 @@ static sctp_disposition_t sctp_sf_violation_chunklen(
/* /*
* Handle a protocol violation when the parameter length is invalid. * Handle a protocol violation when the parameter length is invalid.
* "Invalid" length is identified as smaller than the minimal length a * If the length is smaller than the minimum length of a given parameter,
* given parameter can be. * or accumulated length in multi parameters exceeds the end of the chunk,
* the length is considered as invalid.
*/ */
static sctp_disposition_t sctp_sf_violation_paramlen( static sctp_disposition_t sctp_sf_violation_paramlen(
const struct sctp_endpoint *ep, const struct sctp_endpoint *ep,
......
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