diff options
| author | Ying Xue <[email protected]> | 2015-01-09 07:27:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-01-12 21:24:33 +0000 |
| commit | 1da465683a93142488a54a9038155f23d6349441 (patch) | |
| tree | 95ccbeb4302d4b18fe0e12bfbb2b6b819ad84614 /net/tipc/net.c | |
| parent | tipc: make bearer list support net namespace (diff) | |
| download | kernel-1da465683a93142488a54a9038155f23d6349441.tar.gz kernel-1da465683a93142488a54a9038155f23d6349441.zip | |
tipc: make tipc broadcast link support net namespace
TIPC broadcast link is statically established and its relevant states
are maintained with the global variables: "bcbearer", "bclink" and
"bcl". Allowing different namespace to own different broadcast link
instances, these variables must be moved to tipc_net structure and
broadcast link instances would be allocated and initialized when
namespace is created.
Signed-off-by: Ying Xue <[email protected]>
Tested-by: Tero Aho <[email protected]>
Reviewed-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/net.c')
| -rw-r--r-- | net/tipc/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index 38633e5f8a7d..7548ba80d289 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c @@ -41,6 +41,7 @@ #include "socket.h" #include "node.h" #include "config.h" +#include "bcast.h" static const struct nla_policy tipc_nl_net_policy[TIPC_NLA_NET_MAX + 1] = { [TIPC_NLA_NET_UNSPEC] = { .type = NLA_UNSPEC }, |
