]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Make the address lists per network namespace
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 6 Aug 2012 08:42:04 +0000 (08:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2012 06:12:17 +0000 (23:12 -0700)
commit205f8d6443276f4ca48a67b5375bfeca9d3f0e21
treeff02e330187c41970c75f6d8a6275e1cc25165f0
parent028ecd7f7020a2d5df5237a23463197222151023
sctp: Make the address lists per network namespace

- Move the address lists into struct net
- Add per network namespace initialization and cleanup
- Pass around struct net so it is everywhere I need it.
- Rename all of the global variable references into references
  to the variables moved into struct net

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
include/net/netns/sctp.h [new file with mode: 0644]
include/net/sctp/sctp.h
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/bind_addr.c
net/sctp/ipv6.c
net/sctp/protocol.c
net/sctp/socket.c