summaryrefslogtreecommitdiffstats
path: root/net/sctp/debug.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-12-18 14:13:17 +0800
committerDavid S. Miller <davem@davemloft.net>2017-12-18 13:21:46 -0500
commitd196975905b2bb227dc54547c03b3d9d0013805c (patch)
treecd9ebcbc7a5f018d1a7def28d350a06748c057d6 /net/sctp/debug.c
parent5c468674d17056148da06218d4da5d04baf22eac (diff)
downloadlinux-d196975905b2bb227dc54547c03b3d9d0013805c.tar.bz2
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 <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>
Diffstat (limited to 'net/sctp/debug.c')
-rw-r--r--net/sctp/debug.c3
1 files changed, 3 insertions, 0 deletions
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;
}