mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
tipc: make subscriber server support net namespace
TIPC establishes one subscriber server which allows users to subscribe their interesting name service status. After tipc supports namespace, one dedicated tipc stack instance is created for each namespace, and each instance can be deemed as one independent TIPC node. As a result, subscriber server must be built for each 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
3474753954
commit
a62fbccecd
@@ -45,7 +45,7 @@
|
||||
|
||||
int tipc_socket_init(void);
|
||||
void tipc_socket_stop(void);
|
||||
int tipc_sock_create_local(int type, struct socket **res);
|
||||
int tipc_sock_create_local(struct net *net, int type, struct socket **res);
|
||||
void tipc_sock_release_local(struct socket *sock);
|
||||
int tipc_sock_accept_local(struct socket *sock, struct socket **newsock,
|
||||
int flags);
|
||||
|
Reference in New Issue
Block a user