net: Export inet_offloads and inet6_offloads
authorTom Herbert <therbert@google.com>
Wed, 17 Sep 2014 19:25:55 +0000 (12:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 21:15:31 +0000 (17:15 -0400)
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>
net/ipv4/protocol.c
net/ipv6/protocol.c

index 46d6a1c923a8741776fa1de1cdd727b6cba72294..4b7c0ec65251ef40577a2d5e360fcbaed391a566 100644 (file)
@@ -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)
 {
index e048cf1bb6a234bb1c0eac0987d8e093a733f2f1..e3770abe688a3a9059456fe9195adbfcdfb73157 100644 (file)
@@ -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)
 {