diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-02-12 18:29:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-12 11:40:01 -0500 |
commit | 947820b9595aa99f73de033ddcfe4c729c903c75 (patch) | |
tree | 0eeea15b81107b6330c8bd91987d0b96960a0bf8 /net/sctp/debug.c | |
parent | 27af86bb038d9c8b8066cd17854ddaf2ea92bce1 (diff) |
sctp: add SCTP_CID_I_DATA and SCTP_CID_I_FWD_TSN conversion in sctp_cname
After the support for SCTP_CID_I_DATA and SCTP_CID_I_FWD_TSN chunks,
the corresp conversion in sctp_cname should also be added. Otherwise,
in some places, pr_debug will print them as "unknown chunk".
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/sctp/debug.c b/net/sctp/debug.c index 291c97b07058..8f6c2e8c0953 100644 --- a/net/sctp/debug.c +++ b/net/sctp/debug.c @@ -81,6 +81,12 @@ const char *sctp_cname(const union sctp_subtype cid) case SCTP_CID_RECONF: return "RECONF"; + case SCTP_CID_I_DATA: + return "I_DATA"; + + case SCTP_CID_I_FWD_TSN: + return "I_FWD_TSN"; + default: break; } |