]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/net/netns/sctp.h
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)
commit4db67e808640e3934d82ce61ee8e2e89fd877ba8
treeff02e330187c41970c75f6d8a6275e1cc25165f0
parent4110cc255ddec59c79fba4d71cdd948d0a382140
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