Skip to content

Commit

Permalink
tipc: Enable use by containers having their own network namespace
Browse files Browse the repository at this point in the history
Permits a Linux container to use TIPC sockets even when it has its own
network namespace defined by removing the check that prohibits such use.
This makes it possible for users who wish to isolate their container
network traffic from normal network traffic to utilize TIPC.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
  • Loading branch information
Allan Stephens authored and Paul Gortmaker committed Dec 27, 2011
1 parent 1ba9ac7 commit 2060a57
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,6 @@ static int tipc_create(struct net *net, struct socket *sock, int protocol,

/* Validate arguments */

if (!net_eq(net, &init_net))
return -EAFNOSUPPORT;

if (unlikely(protocol != 0))
return -EPROTONOSUPPORT;

Expand Down

0 comments on commit 2060a57

Please sign in to comment.