[sr-dev] git:sr_3.0: sctp: fix cfg. set_delayed* setting some config options immediately

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Nov 30 12:10:33 CET 2009


Module: sip-router
Branch: sr_3.0
Commit: cf1ba69f5b06fda8054da75d52a1ba187f5080e8
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cf1ba69f5b06fda8054da75d52a1ba187f5080e8

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Mon Nov 30 12:02:37 2009 +0100

sctp: fix cfg.set_delayed* setting some config options immediately

- all the runtime cfg options that involve setting socket options
  are now set using a per-child cfg callback with
  CFG_CB_ONLY_ONCE and not in the value fixup function. This fixes
  cfg.set_delayed* (up until now it did set these options
  immediately and not after cfg.commit).
- init_max_timeo valid range fixed (from 0-1024 to 0-2^30).

---

 sctp_options.c |  408 +++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 272 insertions(+), 136 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=cf1ba69f5b06fda8054da75d52a1ba187f5080e8



More information about the sr-dev mailing list