summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2013-01-31 02:02:25 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-31 19:53:08 +0100
commit8e72d37eb304d9ec5dfb51bc2d83e900b79ee764 (patch)
treef248711806f4146f25518196803710520baed286 /net
parentipv6: rename datagram_send_ctl and datagram_recv_ctl (diff)
downloadlinux-8e72d37eb304d9ec5dfb51bc2d83e900b79ee764.tar.xz
linux-8e72d37eb304d9ec5dfb51bc2d83e900b79ee764.zip
ipv6: export ip6_datagram_recv_ctl
ip6_datagram_recv_ctl and ip6_datagram_send_ctl are used for handling IPv6 ancillary data. Since ip6_datagram_send_ctl is already publicly exported for use in modules, ip6_datagram_recv_ctl should also be available to support ancillary data in the receive path. Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/datagram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c
index 06fd2730838b..7a778b9a7b85 100644
--- a/net/ipv6/datagram.c
+++ b/net/ipv6/datagram.c
@@ -598,6 +598,7 @@ int ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg,
}
return 0;
}
+EXPORT_SYMBOL_GPL(ip6_datagram_recv_ctl);
int ip6_datagram_send_ctl(struct net *net, struct sock *sk,
struct msghdr *msg, struct flowi6 *fl6,