From b80aca0fd902f89488e39e9a2a699f4eebdf593c Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 26 Sep 2019 15:13:21 +0200 Subject: [PATCH] shared: fix a copy-paste error in ethtool-util CID#1405818 --- src/shared/ethtool-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/ethtool-util.c b/src/shared/ethtool-util.c index 4cab2ef..346277c 100644 --- a/src/shared/ethtool-util.c +++ b/src/shared/ethtool-util.c @@ -395,7 +395,7 @@ int ethtool_set_nic_buffer_size(int *fd, const char *ifname, netdev_ring_param * } if (ring->tx_pending_set) { - if (ecmd.tx_pending != ring->rx_pending) { + if (ecmd.tx_pending != ring->tx_pending) { ecmd.tx_pending = ring->tx_pending; need_update = true; } -- 2.7.4