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

mail settings
Submitter Tom Parkin
Date Jan. 31, 2013, 11:02 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/217159/
State Accepted
Delegated to: David Miller
Headers show


Tom Parkin - Jan. 31, 2013, 11:02 a.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 be6f49e..f5a5478 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,