Skip to content

Commit 9ddd1ca

Browse files
geliangtangdavem330
authored andcommitted
mptcp: print out reset infos of MP_RST
This patch printed out the reset infos, reset_transient and reset_reason, of MP_RST in mptcp_parse_option() to show that MP_RST is received. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8cca39e commit 9ddd1ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/mptcp/options.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ static void mptcp_parse_option(const struct sk_buff *skb,
336336
flags = *ptr++;
337337
mp_opt->reset_transient = flags & MPTCP_RST_TRANSIENT;
338338
mp_opt->reset_reason = *ptr;
339+
pr_debug("MP_RST: transient=%u reason=%u",
340+
mp_opt->reset_transient, mp_opt->reset_reason);
339341
break;
340342

341343
case MPTCPOPT_MP_FAIL:

0 commit comments

Comments
 (0)