From: Tom Herbert Date: Wed, 17 Sep 2014 19:25:55 +0000 (-0700) Subject: net: Export inet_offloads and inet6_offloads X-Git-Tag: v3.18-rc1~52^2~30^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce3e02867ed8e12c6e6e83a793d273c1f4d929ea;p=platform%2Fkernel%2Flinux-exynos.git net: Export inet_offloads and inet6_offloads Want to be able to use these in foo-over-udp offloads, etc. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- diff --git a/net/ipv4/protocol.c b/net/ipv4/protocol.c index 46d6a1c..4b7c0ec 100644 --- a/net/ipv4/protocol.c +++ b/net/ipv4/protocol.c @@ -30,6 +30,7 @@ const struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] __read_mostly; const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly; +EXPORT_SYMBOL(inet_offloads); int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) { diff --git a/net/ipv6/protocol.c b/net/ipv6/protocol.c index e048cf1..e3770ab 100644 --- a/net/ipv6/protocol.c +++ b/net/ipv6/protocol.c @@ -51,6 +51,7 @@ EXPORT_SYMBOL(inet6_del_protocol); #endif const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS] __read_mostly; +EXPORT_SYMBOL(inet6_offloads); int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) {