Commit 8ea5cff
committed
tcp: support rstreason for passive reset
JIRA: https://issues.redhat.com/browse/RHEL-48648
Upstream Status: linux.git
commit 120391e
Author: Jason Xing <kernelxing@tencent.com>
Date: Thu Apr 25 11:13:37 2024 +0800
tcp: support rstreason for passive reset
Reuse the dropreason logic to show the exact reason of tcp reset,
so we can finally display the corresponding item in enum sk_reset_reason
instead of reinventing new reset reasons. This patch replaces all
the prior NOT_SPECIFIED reasons.
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Antoine Tenart <atenart@redhat.com>1 parent aef83a5 commit 8ea5cff
3 files changed
+29
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
106 | 121 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1689 | 1689 | | |
1690 | 1690 | | |
1691 | 1691 | | |
1692 | | - | |
| 1692 | + | |
1693 | 1693 | | |
1694 | 1694 | | |
1695 | 1695 | | |
| |||
2032 | 2032 | | |
2033 | 2033 | | |
2034 | 2034 | | |
2035 | | - | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
2036 | 2039 | | |
2037 | 2040 | | |
2038 | 2041 | | |
| |||
2106 | 2109 | | |
2107 | 2110 | | |
2108 | 2111 | | |
2109 | | - | |
| 2112 | + | |
2110 | 2113 | | |
2111 | 2114 | | |
2112 | 2115 | | |
| |||
2157 | 2160 | | |
2158 | 2161 | | |
2159 | 2162 | | |
2160 | | - | |
| 2163 | + | |
2161 | 2164 | | |
2162 | 2165 | | |
2163 | 2166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | | - | |
| 1515 | + | |
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
| |||
1693 | 1693 | | |
1694 | 1694 | | |
1695 | 1695 | | |
1696 | | - | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
1697 | 1700 | | |
1698 | 1701 | | |
1699 | 1702 | | |
| |||
1763 | 1766 | | |
1764 | 1767 | | |
1765 | 1768 | | |
1766 | | - | |
| 1769 | + | |
1767 | 1770 | | |
1768 | 1771 | | |
1769 | 1772 | | |
| |||
1818 | 1821 | | |
1819 | 1822 | | |
1820 | 1823 | | |
1821 | | - | |
| 1824 | + | |
1822 | 1825 | | |
1823 | 1826 | | |
1824 | 1827 | | |
| |||
0 commit comments