diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-02-03 02:03:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-03 12:44:08 +0100 |
commit | 9ddd1cac6fe1f8464f54ab0d5af9bc8260caca12 (patch) | |
tree | 9ab0ea260d4aab61afc3865df47dc486f7195144 /net/mptcp/options.c | |
parent | mptcp: clarify when options can be used (diff) | |
download | linux-9ddd1cac6fe1f8464f54ab0d5af9bc8260caca12.tar.xz linux-9ddd1cac6fe1f8464f54ab0d5af9bc8260caca12.zip |
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 <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/mptcp/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mptcp/options.c b/net/mptcp/options.c index 7345f28f3de1..3e82ac24d548 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -336,6 +336,8 @@ static void mptcp_parse_option(const struct sk_buff *skb, flags = *ptr++; mp_opt->reset_transient = flags & MPTCP_RST_TRANSIENT; mp_opt->reset_reason = *ptr; + pr_debug("MP_RST: transient=%u reason=%u", + mp_opt->reset_transient, mp_opt->reset_reason); break; case MPTCPOPT_MP_FAIL: |