You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
tipc: involve namespace infrastructure
Involve namespace infrastructure, make the "tipc_net_id" global variable aware of per namespace, and rename it to "net_id". In order that the conversion can be successfully done, an instance of networking namespace must be passed to relevant functions, allowing them to access the "net_id" variable of per namespace. Signed-off-by: Ying Xue <ying.xue@windriver.com> Tested-by: Tero Aho <Tero.Aho@coriant.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
54fef04ad0
commit
c93d3baa24
+3
-2
@@ -165,8 +165,9 @@ extern struct tipc_bearer __rcu *bearer_list[];
|
||||
* TIPC routines available to supported media types
|
||||
*/
|
||||
|
||||
void tipc_rcv(struct sk_buff *skb, struct tipc_bearer *tb_ptr);
|
||||
int tipc_enable_bearer(const char *bearer_name, u32 disc_domain, u32 priority);
|
||||
void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b_ptr);
|
||||
int tipc_enable_bearer(struct net *net, const char *bearer_name,
|
||||
u32 disc_domain, u32 priority);
|
||||
int tipc_disable_bearer(const char *name);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user