ipv6: export ip6_datagram_recv_ctl
authorTom Parkin <tparkin@katalix.com>
Thu, 31 Jan 2013 01:02:25 +0000 (01:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 18:53:08 +0000 (13:53 -0500)
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>
net/ipv6/datagram.c

index 06fd273..7a778b9 100644 (file)
@@ -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,