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

login
register
mail settings
Submitter Tom Parkin
Date Jan. 31, 2013, 11:02 a.m.
Message ID <1359630146-8305-3-git-send-email-tparkin@katalix.com>
Download mbox | patch
Permalink /patch/217159/
State Accepted
Delegated to: David Miller
Headers show

Comments

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 <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
---
 net/ipv6/datagram.c |    1 +
 1 file changed, 1 insertion(+)

Patch

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;
 }
+EXPORT_SYMBOL_GPL(ip6_datagram_recv_ctl);
 
 int ip6_datagram_send_ctl(struct net *net, struct sock *sk,
 			  struct msghdr *msg, struct flowi6 *fl6,