From: Xin Long <lucien.xin@gmail.com> Date: 2017-12-18 06:13:25
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>
---
net/sctp/debug.c | 3 +++
1 file changed, 3 insertions(+)
On Mon, Dec 18, 2017 at 02:13:17PM +0800, Xin Long wrote:
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>
...
quoted hunk
case SCTP_CID_AUTH: return "AUTH";+ case SCTP_CID_RECONF:+ return "RECONF";+ default: break;
Now we also need idata and ifwdtsn in there too, btw.
Marcelo
From: Neil Horman <nhorman@tuxdriver.com> Date: 2017-12-18 14:38:28
On Mon, Dec 18, 2017 at 02:13:17PM +0800, Xin Long wrote:
quoted hunk
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>
---
net/sctp/debug.c | 3 +++
1 file changed, 3 insertions(+)
From: David Miller <davem@davemloft.net> Date: 2017-12-18 18:22:22
From: Xin Long <lucien.xin@gmail.com>
Date: Mon, 18 Dec 2017 14:13:17 +0800
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>
From: Xin Long <lucien.xin@gmail.com> Date: 2017-12-19 04:07:08
On Mon, Dec 18, 2017 at 9:08 PM, Marcelo Ricardo Leitner
[off-list ref] wrote:
On Mon, Dec 18, 2017 at 02:13:17PM +0800, Xin Long wrote:
quoted
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>
...
quoted
case SCTP_CID_AUTH: return "AUTH";+ case SCTP_CID_RECONF:+ return "RECONF";+ default: break;
Now we also need idata and ifwdtsn in there too, btw.