diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-12-18 07:13:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-18 19:21:46 +0100 |
commit | d196975905b2bb227dc54547c03b3d9d0013805c (patch) | |
tree | cd9ebcbc7a5f018d1a7def28d350a06748c057d6 /net/sctp/debug.c | |
parent | sctp: fix the issue that a __u16 variable may overflow in sctp_ulpq_renege (diff) | |
download | linux-d196975905b2bb227dc54547c03b3d9d0013805c.tar.xz linux-d196975905b2bb227dc54547c03b3d9d0013805c.zip |
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.c | 3 |
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; } |