summaryrefslogtreecommitdiffstats
path: root/net/ipv4/protocol.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-09-17 12:25:55 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-19 17:15:31 -0400
commitce3e02867ed8e12c6e6e83a793d273c1f4d929ea (patch)
treed32621f9a0e510f342ff5b0e50a5d249e07d8df3 /net/ipv4/protocol.c
parent4e2840eee6b21cb5230bd7cac8407badb201aac3 (diff)
downloadop-kernel-dev-ce3e02867ed8e12c6e6e83a793d273c1f4d929ea.zip
op-kernel-dev-ce3e02867ed8e12c6e6e83a793d273c1f4d929ea.tar.gz
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 <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/protocol.c')
-rw-r--r--net/ipv4/protocol.c1
1 files changed, 1 insertions, 0 deletions
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)
{
OpenPOWER on IntegriCloud