[PATCH 02/13] SCTP: register protocol for namespace handling.

2012-08-04 Thread Jan Ariyasu
Add namespace-helper functions to access per-namespace parameters and variables. Create per-namespace control socket for out-of-the- blue packets, initialize per-namespace protocol parameters, and register SCTP protocol for namespace handling. Signed-off-by: Jan Ariyasu --- include/net/sctp

[PATCH 13/13] SCTP: make socket-initialization use per-namespace protocol parameters.

2012-08-04 Thread Jan Ariyasu
Made the last few protocol parameters per-namespace; sndbuf_policy, rcvbuf_policy, addip_enable, addip_noauth_enable and prsctp_enable. Signed-off-by: Jan Ariyasu --- net/sctp/endpointola.c |6 ++--- net/sctp/protocol.c |6 ++--- net/sctp/sm_statefuns.c | 12 ++--- net

[PATCH 12/13] SCTP: Enable chunk-auth verification (RFC4895).

2012-08-04 Thread Jan Ariyasu
This patch replaces the global parameter sctp_auth_enable with the per-namespace parameter stored in struct net. Signed-off-by: Jan Ariyasu --- net/sctp/endpointola.c |4 +++- net/sctp/sm_statetable.c | 11 +++ net/sctp/socket.c| 32 3

[PATCH 10/13] SCTP: enable per-namespace authentication configuration.

2012-08-04 Thread Jan Ariyasu
This is the first of three patches to set authentication by namespace. In this patch, the relevant routines in auth.c now check to see if auth_enable is set as a namespace parameter instead of checking the global parameter sctp_auth_enable. Signed-off-by: Jan Ariyasu --- include/net/sctp

[PATCH 09/13] SCTP: Make transmitted packets use per-namespace parameters.

2012-08-04 Thread Jan Ariyasu
This patch set makes transmitted packets use per-namespace protocol parameters such as rto_initial, max_retrans_path, etc. Signed-off-by: Jan Ariyasu --- include/net/sctp/structs.h |5 +++-- net/sctp/associola.c |2 +- net/sctp/output.c |2 +- net/sctp/outqueue.c

[PATCH 08/13] SCTP: Make associations use per-namespace configuration.

2012-08-04 Thread Jan Ariyasu
These changes make associations namespace aware, including association ID lists and their associated locks. Signed-off-by: Jan Ariyasu --- include/net/sctp/sctp.h|3 --- include/net/sctp/structs.h |3 ++- net/sctp/associola.c | 37 - net

[PATCH 07/13] SCTP: Make primitive functions pass per-namespace parameters.

2012-08-04 Thread Jan Ariyasu
This patch sets up the primitive functions to pass on struct net in preparation for SCTP to use per-net protocol parameters. Signed-off-by: Jan Ariyasu --- include/net/sctp/sctp.h | 15 -- include/net/sctp/sm.h|6 -- net/sctp/associola.c |3 ++- net/sctp

[PATCH 05/13] SCTP: register per-namespace sysctl.

2012-08-04 Thread Jan Ariyasu
Updated sysctl registration to be per-netns and to use per-net protocol parameters. Signed-off-by: Jan Ariyasu --- include/net/sctp/sctp.h |8 +- net/sctp/protocol.c | 24 +- net/sctp/sysctl.c | 218 +-- 3 files changed, 221

[PATCH 04/13] SCTP: enable per-namespace address handling.

2012-08-04 Thread Jan Ariyasu
Make a separate local_addr_list for each netns, and use that list to when creating associations. Signed-off-by: Jan Ariyasu --- include/net/sctp/sctp.h|8 ++- include/net/sctp/structs.h | 28 net/sctp/associola.c |6 +- net/sctp/bind_addr.c | 25 --- net

[PATCH 03/13] SCTP: These changes register procfs for netns.

2012-08-04 Thread Jan Ariyasu
Modified proc to initialization to be namespace compatible. Signed-off-by: Jan Ariyasu --- include/net/sctp/sctp.h | 17 +- net/sctp/objcnt.c |8 ++--- net/sctp/proc.c | 77 +--- net/sctp/protocol.c | 81

[PATCH 01/13] SCTP: Preparation for namespace enablement

2012-08-04 Thread Jan Ariyasu
Introduce data structures and break up module initialization and exit into subroutines with common functionality for namespace registration. Signed-off-by: Jan Ariyasu --- include/net/sctp/structs.h | 150 net/sctp/protocol.c| 332

[PATCH 00/13] SCTP: Enable netns

2012-08-04 Thread Jan Ariyasu
of the protocol, procfs and sysfs. Signed-off-by: Jan Ariyasu --- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FA