Skip to content

Commit 947820b

Browse files
lxindavem330
authored andcommitted
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 <[email protected]> Acked-by: Marcelo Ricardo Leitner <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 27af86b commit 947820b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

net/sctp/debug.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ const char *sctp_cname(const union sctp_subtype cid)
8181
case SCTP_CID_RECONF:
8282
return "RECONF";
8383

84+
case SCTP_CID_I_DATA:
85+
return "I_DATA";
86+
87+
case SCTP_CID_I_FWD_TSN:
88+
return "I_FWD_TSN";
89+
8490
default:
8591
break;
8692
}

0 commit comments

Comments
 (0)