From: Xin Long Date: Mon, 18 Dec 2017 06:13:17 +0000 (+0800) Subject: sctp: add SCTP_CID_RECONF conversion in sctp_cname X-Git-Tag: Ubuntu-5.10.0-12.13~8771^2~30 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d196975905b2bb227dc54547c03b3d9d0013805c;p=mirror_ubuntu-hirsute-kernel.git sctp: add SCTP_CID_RECONF conversion in sctp_cname 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: cc16f00f6529 ("sctp: add support for generating stream reconf ssn reset request chunk") Signed-off-by: Xin Long Acked-by: Marcelo R. Leitner Acked-by: Neil Horman Signed-off-by: David S. Miller --- diff --git a/net/sctp/debug.c b/net/sctp/debug.c index 3f619fdcbf0a..291c97b07058 100644 --- a/net/sctp/debug.c +++ b/net/sctp/debug.c @@ -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; }