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
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
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
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
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
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
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
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
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
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
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
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
12 matches
Mail list logo