From: Tom Herbert <therbert@google.com>
To: davem@davemloft.net, netdev@vger.kernel.org
Subject: [PATCH v4 net-next 1/7] net: Export inet_offloads and inet6_offloads
Date: Wed, 17 Sep 2014 12:25:55 -0700 [thread overview]
Message-ID: <1410981961-15545-2-git-send-email-therbert@google.com> (raw)
In-Reply-To: <1410981961-15545-1-git-send-email-therbert@google.com>
Want to be able to use these in foo-over-udp offloads, etc.
Signed-off-by: Tom Herbert <therbert@google.com>
---
net/ipv4/protocol.c | 1 +
net/ipv6/protocol.c | 1 +
2 files changed, 2 insertions(+)
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)
{
--
2.1.0.rc2.206.gedb03e5
next prev parent reply other threads:[~2014-09-17 19:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 19:25 [PATCH v4 net-next 0/7] net: foo-over-udp (fou) Tom Herbert
2014-09-17 19:25 ` Tom Herbert [this message]
2014-09-17 19:25 ` [PATCH v4 net-next 2/7] fou: Support for foo-over-udp RX path Tom Herbert
2014-09-17 19:25 ` [PATCH v4 net-next 3/7] fou: Add GRO support Tom Herbert
2014-09-17 19:25 ` [PATCH v4 net-next 4/7] net: Changes to ip_tunnel to support foo-over-udp encapsulation Tom Herbert
2014-09-17 19:25 ` [PATCH v4 net-next 5/7] sit: Setup and TX path for sit/UDP " Tom Herbert
2014-09-17 19:26 ` [PATCH v4 net-next 6/7] ipip: Setup and TX path for ipip/UDP " Tom Herbert
2014-09-17 19:26 ` [PATCH v4 net-next 7/7] gre: Setup and TX path for gre/UDP " Tom Herbert
2014-09-19 21:16 ` [PATCH v4 net-next 0/7] net: foo-over-udp (fou) David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410981961-15545-2-git-send-email-therbert@google.com \
--to=therbert@google.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).