summaryrefslogtreecommitdiff
path: root/netlink-fix-typo.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-08-07 06:49:01 +0000
committerCoprDistGit <infra@openeuler.org>2025-08-07 06:49:01 +0000
commit8765044a415eaa071b3bd4217b30057af8dcf5b7 (patch)
tree45835ec5a8f37c44c826c83ceb8ba0095b54598d /netlink-fix-typo.patch
parentc2027a35dbf73cd104fac843c4cabb074d99f36d (diff)
automatic import of ethtoolopeneuler22.03_LTS
Diffstat (limited to 'netlink-fix-typo.patch')
-rw-r--r--netlink-fix-typo.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/netlink-fix-typo.patch b/netlink-fix-typo.patch
new file mode 100644
index 0000000..8314b44
--- /dev/null
+++ b/netlink-fix-typo.patch
@@ -0,0 +1,31 @@
+From 41207be299f9607fa834762e8c9112d07cd06b76 Mon Sep 17 00:00:00 2001
+From: gaoxingwang <gaoxingwang1@huawei.com>
+Date: Fri, 22 Mar 2024 15:01:43 +0800
+Subject: [PATCH] netlink: fix typo
+
+Add missing colon in coalesce_reply_cb
+
+Fixes: ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)
+Signed-off-by: gaoxingwang <gaoxingwang1@huawei.com>
+
+Signed-off-by: gaoxingwang <gaoxingwang1@huawei.com>
+---
+ netlink/coalesce.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/netlink/coalesce.c b/netlink/coalesce.c
+index bc34d3d..bb93f9b 100644
+--- a/netlink/coalesce.c
++++ b/netlink/coalesce.c
+@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
+ tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
+ show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
+ tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
+- show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
++ show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
+ tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
+ show_cr();
+
+--
+2.27.0
+