Patchwork [v2,2/3] ipv6: export ip6_datagram_recv_ctl

mail settings
Submitter Tom Parkin
Date Jan. 30, 2013, 2:21 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/216921/
State Changes Requested
Delegated to: David Miller
Headers show


Tom Parkin - Jan. 30, 2013, 2:21 p.m.
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 <>
Signed-off-by: James Chapman <>
 net/ipv6/datagram.c |    1 +
 1 file changed, 1 insertion(+)


diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c
index ecdea449..8f6cc15a 100644
--- a/net/ipv6/datagram.c
+++ b/net/ipv6/datagram.c
@@ -599,6 +599,7 @@  int ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg,
 	return 0;
 int ip6_datagram_send_ctl(struct net *net, struct sock *sk,
 		      struct msghdr *msg, struct flowi6 *fl6,