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>] [day] [month] [year] [list]
Message-Id: <20171128.154107.1057409626223725213.davem@davemloft.net>
Date:   Tue, 28 Nov 2017 15:41:07 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     netdev@...r.kernel.org
Subject: [PATCH v3 11/11] net: Remove dst->next


There are no more users.

Signed-off-by: David S. Miller <davem@...emloft.net>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
---
 include/net/dst.h | 4 ----
 net/core/dst.c    | 1 -
 2 files changed, 5 deletions(-)

diff --git a/include/net/dst.h b/include/net/dst.h
index 2270513..33d2a54 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -88,10 +88,6 @@ struct dst_entry {
 #ifndef CONFIG_64BIT
 	atomic_t		__refcnt;	/* 32-bit offset 64 */
 #endif
-
-	union {
-		struct dst_entry	*next;
-	};
 };
 
 struct dst_metrics {
diff --git a/net/core/dst.c b/net/core/dst.c
index 9bc3bb6..007aa0b 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -86,7 +86,6 @@ void dst_init(struct dst_entry *dst, struct dst_ops *ops,
 	dst->__use = 0;
 	dst->lastuse = jiffies;
 	dst->flags = flags;
-	dst->next = NULL;
 	if (!(flags & DST_NOCOUNT))
 		dst_entries_add(ops, 1);
 }
-- 
2.4.11

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ