diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-05-07 16:48:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-09 22:33:52 -0400 |
commit | 4a65896f94fa82370041823837cd75aac1186b54 (patch) | |
tree | 9443898f94aa86d35b0ab4e6369b6d4fe0f69361 /net/ipv6 | |
parent | 27c0f739a009971aaf43ee71d9b150a56ee57012 (diff) | |
download | lwn-4a65896f94fa82370041823837cd75aac1186b54.tar.gz lwn-4a65896f94fa82370041823837cd75aac1186b54.zip |
net: l3mdev: Move get_saddr and rt6_dst
Move l3mdev_rt6_dst_by_oif and l3mdev_get_saddr to l3mdev.c. Collapse
l3mdev_get_rt6_dst into l3mdev_rt6_dst_by_oif since it is the only
user and keep the l3mdev_get_rt6_dst name for consistency with other
hooks.
A follow-on patch adds more code to these functions making them long
for inlined functions.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index af46e19205f5..c42fa1deb152 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1190,7 +1190,7 @@ struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk, struct dst_entry *dst; bool any_src; - dst = l3mdev_rt6_dst_by_oif(net, fl6); + dst = l3mdev_get_rt6_dst(net, fl6); if (dst) return dst; |