summaryrefslogtreecommitdiff
path: root/net/core/dst_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/dst_cache.c')
-rw-r--r--net/core/dst_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst_cache.c b/net/core/dst_cache.c
index b17171345d64..0c0bdb058c5b 100644
--- a/net/core/dst_cache.c
+++ b/net/core/dst_cache.c
@@ -83,7 +83,7 @@ struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr)
return NULL;
*saddr = idst->in_saddr.s_addr;
- return container_of(dst, struct rtable, dst);
+ return dst_rtable(dst);
}
EXPORT_SYMBOL_GPL(dst_cache_get_ip4);