Skip to content

Commit

Permalink
sctp: add SCTP_CID_RECONF conversion in sctp_cname
Browse files Browse the repository at this point in the history
Whenever a new type of chunk is added, the corresp conversion in
sctp_cname should be added. Otherwise, in some places, pr_debug
will print it as "unknown chunk".

Fixes: cc16f00 ("sctp: add support for generating stream reconf ssn reset request chunk")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Xin Long authored and David S. Miller committed Dec 18, 2017
1 parent 5c46867 commit d196975
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/sctp/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ const char *sctp_cname(const union sctp_subtype cid)
case SCTP_CID_AUTH:
return "AUTH";

case SCTP_CID_RECONF:
return "RECONF";

default:
break;
}
Expand Down

0 comments on commit d196975

Please sign in to comment.