summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/dst.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 62b7e7598e9a..5d62342e8bc4 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -37,7 +37,12 @@ struct sk_buff;
struct dst_entry
{
- struct dst_entry *next;
+ union {
+ struct dst_entry *next;
+ struct rtable *rt_next;
+ struct rt6_info *rt6_next;
+ struct dn_route *dn_next;
+ };
atomic_t __refcnt; /* client references */
int __use;
struct dst_entry *child;
OpenPOWER on IntegriCloud