summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-18 18:38:54 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-18 18:38:54 -0400
commited2361e66eec60645f8e4715fe39a42235ef43ae (patch)
tree96c6f4fa75456647d62c245b87b0d3ce97ce462b /include/net
parent6bd023f3dddfc7c5f660089598c10e1f4167083b (diff)
ipv4: Pass explicit destination address to rt_get_peer().
This will next trickle down to rt_bind_peer(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h
index ba0e0840370..600d0f2ef8d 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -292,7 +292,7 @@ static inline struct rtable *ip_route_newports(struct flowi4 *fl4, struct rtable
extern void rt_bind_peer(struct rtable *rt, int create);
-static inline struct inet_peer *rt_get_peer(struct rtable *rt)
+static inline struct inet_peer *rt_get_peer(struct rtable *rt, __be32 daddr)
{
if (rt->peer)
return rt->peer;