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]
Message-Id: <1465558928-19657-6-git-send-email-phil@nwl.cc>
Date:	Fri, 10 Jun 2016 13:42:04 +0200
From:	Phil Sutter <phil@....cc>
To:	Stephen Hemminger <shemming@...cade.com>
Cc:	netdev@...r.kernel.org
Subject: [iproute PATCH 5/9] tc: m_xt: Drop unused variable fw in parse_ipt()

Signed-off-by: Phil Sutter <phil@....cc>
---
 tc/m_xt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tc/m_xt.c b/tc/m_xt.c
index b3731086c717b..c42f3bda4e8f4 100644
--- a/tc/m_xt.c
+++ b/tc/m_xt.c
@@ -120,7 +120,6 @@ static int parse_ipt(struct action_util *a, int *argc_p,
 		     char ***argv_p, int tca_id, struct nlmsghdr *n)
 {
 	struct xtables_target *m = NULL;
-	struct ipt_entry fw;
 	struct rtattr *tail;
 
 	int c;
@@ -189,7 +188,6 @@ static int parse_ipt(struct action_util *a, int *argc_p,
 			break;
 
 		default:
-			memset(&fw, 0, sizeof(fw));
 #if (XTABLES_VERSION_CODE >= 6)
 			if (m != NULL && m->x6_parse != NULL) {
 				xtables_option_tpcall(c, argv, 0, m, NULL);
-- 
2.8.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ