From: Flavio Leitner <fbl@redhat.com>
To: netdev@vger.kernel.org, dev@openvswitch.org
Cc: Jiri Benc <jbenc@redhat.com>
Subject: [PATCH net-next 1/3] net: export peernet2id_alloc
Date: Thu, 2 Nov 2017 17:04:36 -0200 [thread overview]
Message-ID: <20171102190438.2583-2-fbl@redhat.com> (raw)
In-Reply-To: <20171102190438.2583-1-fbl@redhat.com>
From: Jiri Benc <jbenc@redhat.com>
It will be used by openvswitch.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
---
net/core/net_namespace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index 6cfdc7c84c48..b797832565d3 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -234,6 +234,7 @@ int peernet2id_alloc(struct net *net, struct net *peer)
rtnl_net_notifyid(net, RTM_NEWNSID, id);
return id;
}
+EXPORT_SYMBOL_GPL(peernet2id_alloc);
/* This function returns, if assigned, the id of a peer netns. */
int peernet2id(struct net *net, struct net *peer)
--
2.13.6
next prev parent reply other threads:[~2017-11-02 19:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 19:04 [PATCH net-next 0/3] Allow openvswitch to query ports in another netns Flavio Leitner
2017-11-02 19:04 ` Flavio Leitner [this message]
2017-11-02 19:04 ` [PATCH net-next 2/3] openvswitch: reliable interface indentification in port dumps Flavio Leitner
2017-11-02 19:04 ` [PATCH net-next 3/3] rtnetlink: use netnsid to query interface Flavio Leitner
2017-11-05 12:50 ` [PATCH net-next 0/3] Allow openvswitch to query ports in another netns 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=20171102190438.2583-2-fbl@redhat.com \
--to=fbl@redhat.com \
--cc=dev@openvswitch.org \
--cc=jbenc@redhat.com \
--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).