lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 23 Jun 2020 16:53:04 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     netdev@...r.kernel.org
Cc:     Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2 2/5] bridge: remove slave from comments and message

No need for slave in comment and message.
Can't change API (yet) since part of Linux uapi.

Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
---
 bridge/vlan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bridge/vlan.c b/bridge/vlan.c
index 0d142bc9055d..9128769eaf3d 100644
--- a/bridge/vlan.c
+++ b/bridge/vlan.c
@@ -469,7 +469,7 @@ static void print_vlan_stats_attr(struct rtattr *attr, int ifindex)
 		if (filter_vlan && filter_vlan != vstats->vid)
 			continue;
 
-		/* skip pure port entries, they'll be dumped via the slave stats call */
+		/* skip pure port entries, they'll be dumped via the port stats call */
 		if ((vstats->flags & BRIDGE_VLAN_INFO_MASTER) &&
 		    !(vstats->flags & BRIDGE_VLAN_INFO_BRENTRY))
 			continue;
@@ -592,7 +592,7 @@ static int vlan_show(int argc, char **argv, int subject)
 
 		filt_mask = IFLA_STATS_FILTER_BIT(IFLA_STATS_LINK_XSTATS_SLAVE);
 		if (rtnl_statsdump_req_filter(&rth, AF_UNSPEC, filt_mask) < 0) {
-			perror("Cannot send slave dump request");
+			perror("Cannot send port stats dump request");
 			exit(1);
 		}
 
-- 
2.26.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ