Jan Ariyasu | 4 Aug 2012 23:33
Picon

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

This patch set makes transmitted packets use per-namespace protocol
parameters such as rto_initial, max_retrans_path, etc.

Signed-off-by: Jan Ariyasu <jan.ariyasu <at> hp.com>
---
 include/net/sctp/structs.h |    5 +++--
 net/sctp/associola.c       |    2 +-
 net/sctp/output.c          |    2 +-
 net/sctp/outqueue.c        |   16 ++++++++++------
 net/sctp/sm_sideeffect.c   |    7 ++++---
 net/sctp/sm_statefuns.c    |    2 +-
 net/sctp/transport.c       |   28 +++++++++++++++++-----------
 7 files changed, 37 insertions(+), 25 deletions(-)

diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 72d473b..b016da6 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
 <at>  <at>  -1219,7 +1219,8  <at>  <at>  struct sctp_transport {
 	__u64 hb_nonce;
 };

-struct sctp_transport *sctp_transport_new(const union sctp_addr *,
+struct sctp_transport *sctp_transport_new(struct net *net,
+					  const union sctp_addr *,
 					  gfp_t);
 void sctp_transport_set_owner(struct sctp_transport *,
 			      struct sctp_association *);
 <at>  <at>  -1231,7 +1232,7  <at>  <at>  void sctp_transport_free(struct sctp_transport *);
 void sctp_transport_reset_timers(struct sctp_transport *);
(Continue reading)


Gmane