Patchwork [1/2] ipv6: export symbol datagram_recv_ctl in datagram.c

login
register
mail settings
Submitter Tom Parkin
Date Jan. 28, 2013, 10:48 a.m.
Message ID <1359370134-29875-2-git-send-email-tparkin@katalix.com>
Download mbox | patch
Permalink /patch/216160/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Tom Parkin - Jan. 28, 2013, 10:48 a.m.
Modules using datagram_send_ctl for ancilliary data in the send path should be
using datagram_recv_ctl for ancilliary data in the recv path.  Export
datagram_recv_ctl accordingly.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: Chris Elston <celston@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 33be363..f8a7b51 100644
--- a/net/ipv6/datagram.c
+++ b/net/ipv6/datagram.c
@@ -598,6 +598,7 @@  int datagram_recv_ctl(struct sock *sk, struct msghdr *msg, struct sk_buff *skb)
 	}
 	return 0;
 }
+EXPORT_SYMBOL_GPL(datagram_recv_ctl);
 
 int datagram_send_ctl(struct net *net, struct sock *sk,
 		      struct msghdr *msg, struct flowi6 *fl6,