Commit 120391e
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>1 parent 5691276 commit 120391e
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 | |
|---|---|---|---|
| |||
1936 | 1936 | | |
1937 | 1937 | | |
1938 | 1938 | | |
1939 | | - | |
| 1939 | + | |
1940 | 1940 | | |
1941 | 1941 | | |
1942 | 1942 | | |
| |||
2287 | 2287 | | |
2288 | 2288 | | |
2289 | 2289 | | |
2290 | | - | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
2291 | 2294 | | |
2292 | 2295 | | |
2293 | 2296 | | |
| |||
2366 | 2369 | | |
2367 | 2370 | | |
2368 | 2371 | | |
2369 | | - | |
| 2372 | + | |
2370 | 2373 | | |
2371 | 2374 | | |
2372 | 2375 | | |
| |||
2418 | 2421 | | |
2419 | 2422 | | |
2420 | 2423 | | |
2421 | | - | |
| 2424 | + | |
2422 | 2425 | | |
2423 | 2426 | | |
2424 | 2427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
1683 | | - | |
| 1683 | + | |
1684 | 1684 | | |
1685 | 1685 | | |
1686 | 1686 | | |
| |||
1865 | 1865 | | |
1866 | 1866 | | |
1867 | 1867 | | |
1868 | | - | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
1869 | 1872 | | |
1870 | 1873 | | |
1871 | 1874 | | |
| |||
1942 | 1945 | | |
1943 | 1946 | | |
1944 | 1947 | | |
1945 | | - | |
| 1948 | + | |
1946 | 1949 | | |
1947 | 1950 | | |
1948 | 1951 | | |
| |||
1998 | 2001 | | |
1999 | 2002 | | |
2000 | 2003 | | |
2001 | | - | |
| 2004 | + | |
2002 | 2005 | | |
2003 | 2006 | | |
2004 | 2007 | | |
| |||
0 commit comments