* [PATCH] IPv6: use ipv6_addr_copy() in ip6_route_redirect()
@ 2009-10-07 15:46 Brian Haley
2009-10-07 20:58 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Brian Haley @ 2009-10-07 15:46 UTC (permalink / raw)
To: David Miller; +Cc: netdev@vger.kernel.org
Change ip6_route_redirect() to use ipv6_addr_copy().
Signed-off-by: Brian Haley <brian.haley@hp.com>
---
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index d6fe764..df9432a 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1471,9 +1471,10 @@ static struct rt6_info *ip6_route_redirect(struct in6_addr *dest,
},
},
},
- .gateway = *gateway,
};
+ ipv6_addr_copy(&rdfl.gateway, gateway);
+
if (rt6_need_strict(dest))
flags |= RT6_LOOKUP_F_IFACE;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] IPv6: use ipv6_addr_copy() in ip6_route_redirect()
2009-10-07 15:46 [PATCH] IPv6: use ipv6_addr_copy() in ip6_route_redirect() Brian Haley
@ 2009-10-07 20:58 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-10-07 20:58 UTC (permalink / raw)
To: brian.haley; +Cc: netdev
From: Brian Haley <brian.haley@hp.com>
Date: Wed, 07 Oct 2009 11:46:53 -0400
> Change ip6_route_redirect() to use ipv6_addr_copy().
>
> Signed-off-by: Brian Haley <brian.haley@hp.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-07 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 15:46 [PATCH] IPv6: use ipv6_addr_copy() in ip6_route_redirect() Brian Haley
2009-10-07 20:58 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).