Skip to contentSkip to conversation

Documentation: netlink: fix spelling in tcp_metrics.yaml

PATCH In review Ayananta Paul 4 participants 4 messages Jul 29 – Sep 17

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: netlink: fix spelling in tcp_metrics.yaml

Correct the spelling of "reordering" which was incorrectly written as "reodering" on lines 113 and 115.

Issues identified using codespell -D - -S "*.bin,*.o,*.a,*.so,*.ko,*.gz,*.png,*.jpg" Documentation/

---
 Documentation/netlink/specs/tcp_metrics.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/netlink/specs/tcp_metrics.yaml +2 -2
index 13144aeed31a..dddf92bedc4d 100644
@@ -110,9 +110,9 @@ attribute-sets:
         type: u32
         doc: Congestion Window.
       -
-        name: reodering
+        name: reordering
         type: u32
-        doc: Reodering metric.
+        doc: Reordering metric.
       -
         name: rtt-us
         type: u32
Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ayananta Paul

Correct the spelling of "reordering" which was incorrectly written as "reodering" on lines 113 and 115.

Issues identified using codespell -D - -S "*.bin,*.o,*.a,*.so,*.ko,*.gz,*.png,*.jpg" Documentation/

---
 Documentation/netlink/specs/tcp_metrics.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
maintainer
#2 lore raw
In reply to Ayananta Paul
Quoted 2 lines · On Wed, 29 Jul 2026 09:11:47 +0530 Ayananta Paul wrote:

Correct the spelling of "reordering" which was incorrectly written as "reodering" on lines 113 and 115.

Unfortunately the uAPI define is also misspelled. You will need to squash something like this into your patch:

include/uapi/linux/tcp_metrics.h +3 -1
index 927c735a5b0e..74cfb9f7509c 100644
@@ -35,7 +35,9 @@ enum {
        TCP_METRICS_A_METRICS_RTTVAR,
        TCP_METRICS_A_METRICS_SSTHRESH,
        TCP_METRICS_A_METRICS_CWND,
-       TCP_METRICS_A_METRICS_REODERING,
+       TCP_METRICS_A_METRICS_REORDERING,
+/* Original spelling had a typo, kept to avoid breaking uAPI */
+#define TCP_METRICS_A_METRICS_REODERING TCP_METRICS_A_METRICS_REORDERING
        TCP_METRICS_A_METRICS_RTT_US,
        TCP_METRICS_A_METRICS_RTTVAR_US,