net: l3mdev: Move get_saddr and rt6_dst
authorDavid Ahern <dsa@cumulusnetworks.com>
Sat, 7 May 2016 23:48:59 +0000 (16:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 02:33:52 +0000 (22:33 -0400)
commit4a65896f94fa82370041823837cd75aac1186b54
tree9443898f94aa86d35b0ab4e6369b6d4fe0f69361
parent27c0f739a009971aaf43ee71d9b150a56ee57012
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>
include/net/l3mdev.h
net/ipv6/route.c
net/l3mdev/l3mdev.c